Python speech recognition for Raspberry Pi 2

Josh  picture Josh · Feb 16, 2015 · Viewed 11.9k times · Source

I am trying to find a Speech recognition library similar to PySpeech that will work on a Raspberry Pi 2. I am new to this and have tried researching but there are so many applications I just need help choosing the correct one.

All I am trying to do is, when a user says something the program will recognize keywords and open up the correct part of my code which will just display information about that keyword.
Right now I am using Python 2.7 and PyQt4 to display what I want but am willing to change if there is something easier such as KivyPi, PyGame, etc. I am up for any ideas or any help to push me into the right direction.

Thank You!

Answer

Eric Matthews picture Eric Matthews · Jun 14, 2015

I created a library called SpeakPython that helps Python developers do exactly this, and just released it under GPL3. The library is built upon pocketsphinx (sphinxbase) and gstreamer (for streaming recognition, which leads to fast results). It will allow you to attach python code to speech commands.

It's very accurate and dynamic for command parsing such as this, and I've tested it on the Pi already. Let me know if you have any issues.