speech_recognition icon indicating copy to clipboard operation
speech_recognition copied to clipboard

Speech recognition module for Python, supporting several engines and APIs, online and offline.

Results 206 speech_recognition issues
Sort by recently updated
recently updated
newest added

Simple code: `import speech_recognition as sr r = sr.Recognizer() with sr.Microphone() as source: print("Say something!") audio = r.listen(source) print(r.recognize_google(audio))` Error: TimeoutError: [WinError 10060] A connection attempt failed because the connected...

needinfo

I'm constantly getting this error. Please give me suggestions. Defaulting to user installation because normal site-packages is not writeable Collecting pyaudio Using cached PyAudio-0.2.11.tar.gz (37 kB) Preparing metadata (setup.py) ......

I'm constantly getting this error, please give me solution for this, Defaulting to user installation because normal site-packages is not writeable Collecting pyaudio Using cached PyAudio-0.2.11.tar.gz (37 kB) Preparing metadata...

Steps to reproduce ------------------ ``` def speech_to_text(self): recognizer = sr.Recognizer() with sr.Microphone() as mic: print("listening...") recognizer.adjust_for_ambient_noise(mic,duration=2) audio = recognizer.listen(mic) try: self.text = recognizer.recognize_google(audio, language = "en-US") print(text) ``` "what the...

Steps to reproduce ------------------ As far as I'm aware, just trying to use the library on the raspberry pi causes issues. This was the code I used: import speech_recognition as...

I already installed `speech_recognition` and trying to import `speech_recognition` it gave me `ModuleNotFoundError: No module named 'speech_recognition'` **Hear is my python code** ``` import speech_recognition as sr r = sr.Recognizer()...

needinfo

For the VOSK model to work, the model must be downloaded into the working directory. This requirement is incompatible with projects that utilize a different directory structure. I am adding...

For transcriptions with a souce audio file, is there any way to return timestamps for words detected by the recognizer? (Eg. if it detected 'mistake' at 1m:03s of the audio...

Hello A user on Stack Overflow (not me) has reported a problem with speech_recognition grabbing the audio from a Zoom call if you run a script whilst on Zoom: https://stackoverflow.com/questions/66251391/python-speech-recognition-library-causes-speaker-output-from-discord-or-zoom-t...

Im developing a autoresponding SIP-bot (Session Initiation Protocol), which can transcribe audio input from user which other side of connection. There's any way, how I can redirect _**audio stream from...