Build Voice Search Assistant in Python Speech Recognition

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025
  • In this video we build a speech recognizer that recognizes speech and then queries the recognized speech and automatically opens web browser to display the results.
    Code for the video : github.com/Adi...
    Built using Python 3
    Dependencies : SpeechReocgnition, pyaudio
    Default Browser : Google Chrome
    Post any errors/suggestions in the comments and I'll get back to you.
    F.A.Q
    This is shit,why did you build this?
    Ans: I was Bored
    What this video is about?
    speech recognition python github
    google speech recognition api python
    speech recognition python documentation
    python voice recognition raspberry pi
    continuous speech recognition python
    speech recognition python
    speech recognition example
    speech recognition
    python speech recognition offline
    speech recognition python github
    how to convert speech to text in python
    google speech recognition api python
    speech recognition python documentation
    python voice recognition raspberry pi
    no module named speech_recognition
    python speech to text windows
    webbrowser
    search with your voice
    build "ok google"

Комментарии • 48

  • @adityapaithon6499
    @adityapaithon6499  6 лет назад +3

    As of 14-12-2018 pyaudio is not supported in python3.7 and above.
    So you will have to downgrade the version of python for it to work.
    Build your own custom object detector to detect any object : ruclips.net/video/ydSXgBZ1ybk/видео.html

    • @devloper_hs
      @devloper_hs 5 лет назад

      How to downgrade python

    • @adityapaithon6499
      @adityapaithon6499  5 лет назад

      You could create a docker container.
      Or even a virtul-env would work

    • @devloper_hs
      @devloper_hs 5 лет назад

      @@adityapaithon6499 thanks worked fr me , googled it and now pyaudia is installed

    • @adityapaithon6499
      @adityapaithon6499  5 лет назад

      @@devloper_hs Great :)

    • @devloper_hs
      @devloper_hs 5 лет назад

      All made it ,its working yet when I say even lound the soeech dosent get recognised and what is more bad is that search not bein completed....
      Help please

  • @aswinhari1330
    @aswinhari1330 3 года назад +1

    It's awesome, and it works 👍

  • @ChennaiRoboticsPlatform
    @ChennaiRoboticsPlatform 6 лет назад +1

    Hello brother! I am planning to make a raspberry pi based autonomous system which uses this speech recognition concept to obtain a command from the user to either open or close a door from a computer present elsewhere connected to the same network as raspi. So I am planning to use this and I will mention about you in that video. Cheers!!!!!

  • @ZikyFranky
    @ZikyFranky 4 года назад

    Nice Video Man
    Thanks alot

  • @ChennaiRoboticsPlatform
    @ChennaiRoboticsPlatform 6 лет назад

    This is awesome. Thank you bro.

  • @KshitizAgain
    @KshitizAgain 4 года назад

    thanks for it :D

  • @ShivamSingh-su3nz
    @ShivamSingh-su3nz 5 лет назад

    Nice sir

  • @ΓιάννηςΜπεκος-κ7γ
    @ΓιάννηςΜπεκος-κ7γ 4 года назад +1

    dude what are you changing in the end in order to show what you say?(there is the image of your profile infront of it and it cannot be seen) ty!

    • @ZikyFranky
      @ZikyFranky 4 года назад +1

      print("You said: {}".format(text))

  • @amanpreetsinghgulati2475
    @amanpreetsinghgulati2475 5 лет назад +2

    Its been stuck in "speak" in short not able to listen me ..what to do?

  • @devloper_hs
    @devloper_hs 5 лет назад

    Make a video on speech to text vedio

  • @abhishekjha_here
    @abhishekjha_here 4 года назад

    Not running in Sublime text 3..No module named 'speech_recognition'

  • @happychappiegaming2665
    @happychappiegaming2665 4 года назад

    Exception has occurred: SystemExit
    -1
    File "G:\programlite\New folder\New Text Document.py", line 4, in
    sr.Microphone(device_index=1) help me......................................................................

  • @naveenkumarpeddapudi9099
    @naveenkumarpeddapudi9099 5 лет назад

    Can you give the links of speech recognition and pyaudio for me to download

  • @arnojackob606
    @arnojackob606 5 лет назад

    thanks man

  • @filda1818
    @filda1818 4 года назад

    Hello i have fraceback most recent call Last) : and more and all in and Red (this Will be after i write speech_recognition.Microphone.list_microphone_names () and was upgrade my pip version with command python - m pip install - - upgrade pip

  • @MrBout-sc1xh
    @MrBout-sc1xh 5 лет назад +1

    brother my code rises UnknownValueError

  • @pradyumnajain9640
    @pradyumnajain9640 5 лет назад

    bro it is not working offline
    is there any way it may work offline

  • @kuldeepSingh-so3dd
    @kuldeepSingh-so3dd 4 года назад

    I get error that is to import pyaudio

  • @ishaankapoor933
    @ishaankapoor933 4 года назад

    I can't install pyaudio

  • @ankushbanik1764
    @ankushbanik1764 6 лет назад

    Pip install pyaudio ...Are not installing

    • @adityapaithon6499
      @adityapaithon6499  6 лет назад

      Hi
      What OS are you using?
      And what error do you get

    • @ankushbanik1764
      @ankushbanik1764 6 лет назад

      Collecting pyaudio
      Using cached files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
      Building wheels for collected packages: pyaudio
      Running setup.py bdist_wheel for pyaudio ... error
      Complete output from command c:\users\ankush\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ankush\\AppData\\Local\\Temp\\pip-install-9ilvp3ix\\pyaudio\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
      ', '
      ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\ankush\AppData\Local\Temp\pip-wheel-l3yheze2 --python-tag cp37:
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.7
      copying src\pyaudio.py -> build\lib.win-amd64-3.7
      running build_ext
      building '_portaudio' extension
      error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": landinghub.visualstudio.com/visual-cpp-build-tools
      ----------------------------------------
      Failed building wheel for pyaudio
      Running setup.py clean for pyaudio
      Failed to build pyaudio
      Installing collected packages: pyaudio
      Running setup.py install for pyaudio ... error
      Complete output from command c:\users\ankush\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ankush\\AppData\\Local\\Temp\\pip-install-9ilvp3ix\\pyaudio\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
      ', '
      ');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ankush\AppData\Local\Temp\pip-record-lny301fz\install-record.txt --single-version-externally-managed --compile:
      running install
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.7
      copying src\pyaudio.py -> build\lib.win-amd64-3.7
      running build_ext
      building '_portaudio' extension
      error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": landinghub.visualstudio.com/visual-cpp-build-tools
      ----------------------------------------
      Command "c:\users\ankush\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ankush\\AppData\\Local\\Temp\\pip-install-9ilvp3ix\\pyaudio\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
      ', '
      ');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ankush\AppData\Local\Temp\pip-record-lny301fz\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\ankush\AppData\Local\Temp\pip-install-9ilvp3ix\pyaudio\
      C:\Users\ankush>
      this error.. and i am using windows 10

    • @ankushbanik1764
      @ankushbanik1764 6 лет назад

      Rply me sir

    • @adityapaithon6499
      @adityapaithon6499  6 лет назад

      Hi are you using Python3 or Python2?
      If you got the installation problem in python3 refer this : superuser.com/a/1297203

    • @adityapaithon6499
      @adityapaithon6499  6 лет назад

      Did it work? or still facing any issues

  • @arnojackob606
    @arnojackob606 5 лет назад +1

    thanks man

  • @arnojackob606
    @arnojackob606 5 лет назад +2

    thanks man