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"
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
How to downgrade python
You could create a docker container.
Or even a virtul-env would work
@@adityapaithon6499 thanks worked fr me , googled it and now pyaudia is installed
@@devloper_hs Great :)
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
It's awesome, and it works 👍
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!!!!!
Nice Video Man
Thanks alot
This is awesome. Thank you bro.
thanks for it :D
Nice sir
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!
print("You said: {}".format(text))
Its been stuck in "speak" in short not able to listen me ..what to do?
Make a video on speech to text vedio
Not running in Sublime text 3..No module named 'speech_recognition'
Exception has occurred: SystemExit
-1
File "G:\programlite\New folder\New Text Document.py", line 4, in
sr.Microphone(device_index=1) help me......................................................................
Can you give the links of speech recognition and pyaudio for me to download
thanks man
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
brother my code rises UnknownValueError
bro it is not working offline
is there any way it may work offline
I get error that is to import pyaudio
I can't install pyaudio
Pip install pyaudio ...Are not installing
Hi
What OS are you using?
And what error do you get
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
Rply me sir
Hi are you using Python3 or Python2?
If you got the installation problem in python3 refer this : superuser.com/a/1297203
Did it work? or still facing any issues
thanks man
thanks man
Welcome :)