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.
The code in this repository is based on an example in the pocketsphinx GitHub repository.
pocketsphinx/swig/python/test/kws_test.py
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.
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.
Feel free contribute to the code!
MIT - See LICENSE
- Version 0.1 - Initial commit