python-always-listening icon indicating copy to clipboard operation
python-always-listening copied to clipboard

Always listening keyword detection in Python using CMU Sphinx.

Python Always Listening Keyword Detection

This project provides example code for device that can trigger off of a keyword that is always listening using Python. This can be used for to augment any project that requires the user to initiate any action. As an example, the phrase "Mr. House" can trigger a call to the SpeechRecognition library, where the users next sentence can be captured and parsed.

Requirements

Using CMU Sphinx

The code in this repository is based on an example in the pocketsphinx GitHub repository.

pocketsphinx/swig/python/test/kws_test.py

Cross-Platform

This code has only been tested on Windows. The final goal is for this project to work out of the box on a Raspberry Pi and on Windows.

Bugs

If you run into any bugs, please create an issue on GitHub. Don't hesitate to submit bugs for the README as well! I can't promise that I will get to it quickly, but I will do my best to keep this project as bug free as possible.

Contributing

Feel free contribute to the code!

License

MIT - See LICENSE

Change Log

  • Version 0.1 - Initial commit