Anna
Anna copied to clipboard
Improve Recognition
Recognition using tts of chrome is not working in some systems.
#123 is related to this
We are presently using chrome's inbulit API. Which has a low accuracy and it checks all the time hence increasing browser CPU usage.
There are many ways to solve this
One is using a wrapper for chrome API . Such as https://github.com/TalAter/annyang
Other is https://github.com/Kitt-AI/snowboy/issues/98 .
Lastly we can use dialogflow directly. But I'm not sure about its implementation. People seem very happy about its accuracy. Since we are already using it maybe it's good. But the docs are not that good and I haven't got much idea about it.
https://github.com/dialogflow/dialogflow-javascript-client
Another idea was to train a model ourself for the word hey or take a pertained one. Using the new tensorflow JavaScript library. Don't have much clue as of now about this.
Since this is a major change, I would like everyone's input about this.