Python Speech Translator in just 30 lines of code | Python Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 52

  • @gedeonchrist5645
    @gedeonchrist5645 7 หลายเดือนก่อน +2

    I have een looking for exactly this type of tutorial without any token and other stuff. you are amazing, brother. keep up the great work

  • @SAQIBALI-gw3oh
    @SAQIBALI-gw3oh 2 ปีที่แล้ว +5

    Wow....i shocked to see this demo...fantastic and amazing

    • @recreate60
      @recreate60  2 ปีที่แล้ว +1

      Thanks for your wonderfull coment.

    • @NeelimaReddy-th9fo
      @NeelimaReddy-th9fo 10 หลายเดือนก่อน +2

      Did that code executed?

  • @UnboxingMyBuys
    @UnboxingMyBuys ปีที่แล้ว +1

    You have a nice way to explain and educate.

  • @parham1rezaei791
    @parham1rezaei791 2 ปีที่แล้ว +3

    I receive an error
    About recognize_google
    When i run the program,it just indicate speak now but after that you cant talk

  • @madhaviv8091
    @madhaviv8091 2 ปีที่แล้ว +10

    google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown

    • @life4s936
      @life4s936 ปีที่แล้ว +1

      Hi mam,could you solve the problem.if you could means kindly give a solution for this?

  • @BhanuFlery
    @BhanuFlery ปีที่แล้ว +2

    Hello Sir... I got an error :
    Error 263 for command:
    close audio.mp3
    The specified device is not open or is not recognized by MCI.
    I wrote mail as well... hope you could help. Thank you.

  • @LastMiau
    @LastMiau 2 ปีที่แล้ว +8

    If you get the error:
    "google_trans_new.google_trans_new.google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown"
    It is because of a bug and this is the solution:
    1. search in the python library for the google_trans_new.py file.
    "Lib\site-packages "google_trans_new_google_trans_new.py"
    (I use virtual machine and it is easier for me to find it)
    Open it and change the codes to these:
    16 / URL_SUFFIX_DEFAULT = 'com'
    90/ def __init__(self, url_suffix="com", timeout=5, proxies=None):
    151/ response = (decoded_line).
    233/ response = (decoded_line)
    3. That should work, if it doesn't then google the error and you will get help in these cases:
    google_trans_new.google_trans_new.google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown

  • @jonathangodson3564
    @jonathangodson3564 หลายเดือนก่อน

    Is it possible to translate to multiple language without individually specifying each of the language?

  • @shraddhabhambani5312
    @shraddhabhambani5312 3 หลายเดือนก่อน

    What about speech to speech directly? Which library to be used?

  • @dikshalote1932
    @dikshalote1932 3 หลายเดือนก่อน

    What are the software specifications and expected outcomes from this project

  • @getsknowledge-with-sakib
    @getsknowledge-with-sakib 2 ปีที่แล้ว +2

    translated_text=translator.translate(speech_text,lang_tgt='ur') generate an error in my side.solution what?

    • @recreate60
      @recreate60  2 ปีที่แล้ว

      Hey, please drop me a mail to the following mail ID ( srinivask.recreate@gmail.com ) with your code and error message. I will try my best to help you out.

    • @dannylopez1230
      @dannylopez1230 2 ปีที่แล้ว

      did you get a solution?

  • @nouriensha2873
    @nouriensha2873 4 หลายเดือนก่อน

    How to modify the code like... Translates any language into one output language?

  • @Curtis_editz
    @Curtis_editz 5 หลายเดือนก่อน

    do i have to use a microphone or can I use

  • @Death-metal99
    @Death-metal99 ปีที่แล้ว

    my college project topic is speech to speech translation so should i do like this ??? i am gonna deploy it in website though

    • @jassslan1
      @jassslan1 10 หลายเดือนก่อน

      hi, have you done this project? I also have a similar project theme, can you share the code?

    • @Death-metal99
      @Death-metal99 10 หลายเดือนก่อน

      @@jassslan1 nope this project is not made from scratch..he is just using those libraries and my college project topic is changed to neural network

  • @darkmift
    @darkmift 4 หลายเดือนก่อน

    I want a poc of this but using streams.

  • @sayyadomez4494
    @sayyadomez4494 2 ปีที่แล้ว +1

    code not working

  • @Coding-Yogi
    @Coding-Yogi ปีที่แล้ว

    how to implement this in js. I am building a google meet app with agora i want realtime lang translation

  • @aperson1181
    @aperson1181 ปีที่แล้ว

    Is there a tool for videos? I downloaded videos and need to have them translated to my elderly family member from English to Ukrainian/Russian.

    • @ibrahimsultan6871
      @ibrahimsultan6871 ปีที่แล้ว

      you can extract the audio translate it and then add the audio

  • @anumzeeshan7733
    @anumzeeshan7733 2 ปีที่แล้ว +1

    hi, awesome work.
    can i have the code plz?

  • @TrendVidz659
    @TrendVidz659 8 หลายเดือนก่อน

    Hello, I type codes following your instructions but it only print out words what I said, not translated to voice. could you pls tell me what issue, and what I need to install more to make it work like yours? hope to receive your response ASAP. many thanks. or let me know your email I will send you email in details.

  • @Deda8000
    @Deda8000 ปีที่แล้ว

    I need a program that translates anything hear to English is possible;

  • @laurenpeckman320
    @laurenpeckman320 2 ปีที่แล้ว +1

    Due to constraints of workplace, I am trapped in python 2.7
    Is there a version of the tool that might work in 2.7?
    ("Just get out of 2.7" isnt' an option)

  • @faustinahtubo4988
    @faustinahtubo4988 2 ปีที่แล้ว

    Nice

  • @vigneshbaalajis7823
    @vigneshbaalajis7823 ปีที่แล้ว

    Can you tell me about your Python set up ?

  • @saravjeetkaur1064
    @saravjeetkaur1064 2 ปีที่แล้ว

    Sir plz help me
    It is not translating

    • @recreate60
      @recreate60  2 ปีที่แล้ว

      Hey, please drop me a mail to the following mail ID ( srinivask.recreate@gmail.com ) with your code and error message. I will try my best to help you out.

    • @saravjeetkaur1064
      @saravjeetkaur1064 2 ปีที่แล้ว

      Error ni h sir

    • @saravjeetkaur1064
      @saravjeetkaur1064 2 ปีที่แล้ว

      Speech recognise ho rh hai
      Btt another language mei convert ni hora
      Orr na hi audio chl rhi

    • @saravjeetkaur1064
      @saravjeetkaur1064 2 ปีที่แล้ว

      I mean text to text or text to speech ni ho rha

    • @saravjeetkaur1064
      @saravjeetkaur1064 2 ปีที่แล้ว

      Sir help plz

  • @SoothingAuraTracks
    @SoothingAuraTracks ปีที่แล้ว

    please the codes

  • @kikilllo12
    @kikilllo12 11 หลายเดือนก่อน

    im getting these errors when running it. please help! Traceback (most recent call last):
    File "C:\Users\euria\PycharmProjects\pythonProject\PythonTut\Translator.py", line 6, in
    with sr.Microphone() as source:
    ^^^^^^^^^^^^^^^
    File "C:\Users\euria\PycharmProjects\pythonProject\PythonTut\venv\Lib\site-packages\speech_recognition\__init__.py", line 80, in __init__
    self.pyaudio_module = self.get_pyaudio()
    ^^^^^^^^^^^^^^^^^^
    File "C:\Users\euria\PycharmProjects\pythonProject\PythonTut\venv\Lib\site-packages\speech_recognition\__init__.py", line 111, in get_pyaudio
    from distutils.version import LooseVersion
    ModuleNotFoundError: No module named 'distutils'

    • @jassslan1
      @jassslan1 10 หลายเดือนก่อน

      did you get a solution?

    • @durgaprasaddevarakonda8623
      @durgaprasaddevarakonda8623 8 หลายเดือนก่อน

      Module distutils is removed in Python 3.12, Please install python 3.9 and try

  • @caqueto3347
    @caqueto3347 2 ปีที่แล้ว

    Hey, how can i contact you?

    • @recreate60
      @recreate60  2 ปีที่แล้ว +1

      Hi, You can get in touch with me in the following mail ID: srinivask.recreate@gmail.com

  • @jimsydneydsouza7971
    @jimsydneydsouza7971 5 หลายเดือนก่อน

    My code is not working

    • @jimsydneydsouza7971
      @jimsydneydsouza7971 5 หลายเดือนก่อน

      Is there any plugin also need to be installed

  • @madhaviv8091
    @madhaviv8091 2 ปีที่แล้ว +3

    google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown
    Error

    • @RagingGamingBear
      @RagingGamingBear 2 ปีที่แล้ว

      Did you manage to fix this?

    • @ARCOS73
      @ARCOS73 ปีที่แล้ว

      @@RagingGamingBear Same problem here

    • @fdanisndsa
      @fdanisndsa ปีที่แล้ว +2

      I found this comment on this video since I was having the same error,
      If you get the error:
      "google_trans_new.google_trans_new.google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown"
      It is because of a bug and this is the solution:
      1. search in the python library for the google_trans_new.py file.
      "Lib\site-packages "google_trans_new_google_trans_new.py"
      (I use virtual machine and it is easier for me to find it)
      Open it and change the codes to these:
      16 / URL_SUFFIX_DEFAULT = 'com'
      90/ def __init__(self, url_suffix="com", timeout=5, proxies=None):
      151/ response = (decoded_line).
      233/ response = (decoded_line)
      3. That should work, if it doesn't then google the error and you will get help in these cases:
      google_trans_new.google_trans_new.google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown