Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snowboy hot word Detection #550

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

lowdev
Copy link

@lowdev lowdev commented Jul 25, 2016

The differences with the main project

The problem with stt online, it's the big lack of PriVAcy !!!

In jasper by adding stt_passive_engine in profile.yml you can choose the stt who gonna listen to you til you said "Jasper !".
Of course you have to choose a not online stt, if you mind about your PriVAcy...

That's good But !

  • You can't easily choose a wake up word.
  • Due to my accent (I think), when i said "Jasper"... doesn't work all the time...

To address these points, i decide to use "Snowboy Hot Word Detection" https://snowboy.kitt.ai/ as "stt passive engine".

  • Define and train your own hotword
  • High accuracy,
  • Low latency and no internet needed
  • Small memory footprint and cross-platform support

Installation

  • Follow the python installation -> https://github.com/Kitt-AI/snowboy
  • copy _snowboydetect.so (generated in project snowboy/swig/Python) in jasper/client/snowboy
  • create your model -> https://snowboy.kitt.ai/
  • copy your model under the name "model.pmdl" in /jasper/client/snowboy)
  • And here we go !!!

TODO

  • Remove all the code stt_passive_engine
  • Temove in all the code Persona
  • Too much latence in active listenning.
  • Re add gmail notification

Laury Lafage added 7 commits July 25, 2016 09:59
Add "todo" section in README.md
PassiveListen is done with snowboy now !
Remove persona from conversation.py.
Remove persona from conversation constructor.
stt_passive_engine will be snowboy !
@jaydevs
Copy link

jaydevs commented Aug 30, 2016

i got an error
http://hastebin.com/ezejofegoj.rb

@lowdev
Copy link
Author

lowdev commented Aug 30, 2016

Hi guys !

I'm newbie on Travis and github.
What is the next steps ?

Fix these issues I supposed:
1.51s$ flake8 jasper.py client tests
client/conversation.py:9:0: E302 expected 2 blank lines, found 1
client/conversation.py:53:15: E128 continuation line under-indented for visual indent
client/conversation.py:54:15: E128 continuation line under-indented for visual indent
client/conversation.py:56:28: W292 no newline at end of file
client/conversation.py:28:31: E127 continuation line over-indented for visual indent
client/conversation.py:31:31: E127 continuation line over-indented for visual indent

The build on Travis start automatically when someone push a commit ?

@Link774
Copy link

Link774 commented Dec 21, 2016

I'm not sure why you would want to remove all the passive detection stuff. Shouldn't using snowboy just be an option like the other passive detection options? This change seems sort of against the modular construction of Jasper.

@lowdev
Copy link
Author

lowdev commented Dec 23, 2016

@Link774, i agree

@ghost
Copy link

ghost commented Dec 24, 2016

I agree as well, its just a marketing technique. Remember, the snowboy guys are nice guys, but they are a commercial product. It would be in their best interest if they had no competition in the space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants