fossasia / susi_linux

Hardware for SUSI AI https://susi.ai
Apache License 2.0
1.6k stars 149 forks source link

Add support for pocketsphinx for wakeword detection #399

Closed ftyers closed 5 years ago

ftyers commented 5 years ago

Is your feature request related to a problem? Please describe.

It's frustrating to rely on non-free software.

Describe the solution you'd like

Let's use free software for the wakeword detection, like pocketsphinx or something else.

prateekiiest commented 5 years ago

we are using pocketsphinx for stopword detection

ftyers commented 5 years ago

I understood that snowboy was being used. Perhaps I am mistaken?

prateekiiest commented 5 years ago

Sorry for the confusion

As for the time being, we are using both options depending on whether the user has snowboy installed or not.

https://github.com/fossasia/susi_linux/blob/87d4495bf0041d6cab85af06c5de24153e3b1cb3/main/hotword_engine/__init__.py

so you can switch to any one of them, upon your wish.

The pocketsphinx implementation is here https://github.com/fossasia/susi_linux/blob/62b23b1147a8ef22bb08f2ad97b0772e3681d43e/main/hotword_engine/sphinx_detector.py