All Questions
206 questions
0
votes
0
answers
38
views
Why is Google recognizer missing in my SpeechRecognition library?
I'm trying to use the google recognizer from the SpeechRecognition library in Python
import speech_recognition as sr
rec = sr.Recognizer()
with sr.Microphone() as mic:
rec....
1
vote
0
answers
50
views
speech_recognition and gtts don't understand numbers lower than 11
I put together straightforward code that asks the user to choose between option 1, oranges, and option 2, pears:
options = {
(1, "1", "one", "number one", "...
1
vote
0
answers
189
views
Fine Training a Speech-To-Text LLM to use a specific dictionary
The original question was closed for being too vague, but can be found here for those interested in details.
Basically, if I have a model like this or this that is already built for speech-to-text ...
0
votes
0
answers
56
views
Speech Recognition Issue: Unable to Process Audio Buffer from Client-Side Streaming in Python Backend
I'm encountering an issue with speech recognition when trying to process audio streamed from a client to a Python backend. Here's a breakdown of the process:
Client-Side (JavaScript):
audioRecorder....
0
votes
0
answers
55
views
Speech recognition save speech to wav too faster
When I run this script on my computer, the library records the voice at normal speed. When I do it on OrangePI Zero 3, it records the voice at 1.5-2 times the normal speed.
The only difference between ...
1
vote
1
answer
688
views
How to add timestamps to transcript file in accordance to audio file? (result is srt file)
I use speech to text api to make srt files for audio\video (subtitles with timestamps) using python script. But its not 100% accurate. I have transcript for audio file which is accurate (it has some ...
1
vote
1
answer
384
views
Unable to convert Speech to Text using Azure Speech-to-Text service
I'm using the below code to convert speech to text using Azure Speech-to-Text service.I want to convert my audio files into text.Below is the code for the same:
import os
import azure....
2
votes
0
answers
65
views
AttributeError: module 'speech_recognition' has no attribute 'Microphone'
I am new to python stt, so I started with this speech_recognition library
import speech_recognition as sr
recognizer = sr.Recognizer()
with sr.Microphone() as source:
print("Listening..."...
1
vote
1
answer
93
views
Python SpeechRecognition having trouble processing short pronounced words
I have a project and I am using the SpeechRecognition module. I noticed that the recognizer have trouble processing input of short pronounced words like "next", "search", "...
-1
votes
1
answer
512
views
How to listen continously in python from microphone, for detection of wake word like google and alexa?
I am trying to make a voice assistant that will get activated only when I say a wake word just like Google Assistant or alexa or siri.
If I am using speech recognition library for this but the problem ...
0
votes
1
answer
615
views
Speech recognition on Raspberry Pi
I am doing speech recognition on Raspberry Pi, but the function recognize_google does not work on Raspberry Pi. It says recognizers don't have attribute recognize Google. but it works fine on my local ...
0
votes
0
answers
328
views
How to transcribe raw audio data with picovoice leopard and pyaudio
I'm trying to find a way to transcribe raw audio data with picovoice leopard model.
in the official picovoice docs there is a few lines of code explaining how to do so, but I could not get it done.
...
0
votes
1
answer
54
views
speech_recognition.listen() is not working
whenever i try to run the speech recognition's listen function it gets stuck over there , i tried to debug it but still it gets stuck over there , while over there , cmd line also won't print anything ...
0
votes
1
answer
634
views
Automatic separation between consonants and vowels in speech recording
Given an audio file of speech, (for example the file you can download from here), that looks like this:
If we examine it we will find that the vowels are the areas with the largest amplitude, and the ...
0
votes
0
answers
66
views
No transcription is showing on console Twilio and flask
I am trying to build a system where the user will call on my Twilio number and user will speak after the user speak system will transcript it and paste it on console, below is the code which i have ...