Voice recognition in python [closed]

-3

I would like suggestions for Python voice recognition libraries (when you speak and the computer writes), which are compatible with windows, easy to download and clear in Python 3

    
asked by anonymous 01.12.2017 / 00:10

1 answer

2

SpeechRecognition supports the following APIs / engines:

To install use pip , if not installed download it, see this link. After installing the pip run this command, make sure you have PyAudio (it is one of the necessary resources) installing if you do not execute the command:

python -m pip install pyaudio

Then run:

pip install SpeechRecognition

Once installed both you can test using the command:

python -m speech_recognition

Test example with PyAudio:

C:\Users\guilherme\Desktop>python -m speech_recognition
A moment of silence, please...
Set minimum energy threshold to 257.2594761232556
Say something!
Got it! Now to recognize it...
You said hello stack overflow
Say something!
  • Say something! was the moment the software started and then I spoke into the microphone "hello stack overflow"
  • Got it! Now to recognize it... occurred when he understood what I said
  • You said tells what was said on the microphone

Requirements and Features Needed to Work

  • Python 2.6, 2.7 or 3.3 +
  • PyAudio 0.2.11+ (required for the microphone, which looks like your case)
  • PocketSphinx (required only if using Sphinx recognizer, recognizer_instance.recognize_sphinx)
  • Google API Client Library for Python (required only if using Google Cloud Speech API, recognizer_instance.recognize_google_cloud)
  • FLAC encoder (required only on non-x86 based systems - Windows / Linux / OS X)
Examples

The examples can be downloaded at link

Have microphone example or read audio file

API References

Follow the link with link

  

As soon as possible I will list them all here in Portuguese

    
01.12.2017 / 19:21