To run this:
pip3 install -r requirements.txt
- To recognize the text of an audio file named
16-122828-0002.wav
:Output:python recognizer.py 16-122828-0002.wav
I believe you're just talking nonsense
- To recognize the text from your microphone after talking 5 seconds:
This will record your talking in 5 seconds and then uploads the audio data to Google to get the desired output.
python live_recognizer.py 5