Live data from Hacker News

Ask HN: Non-cloud voice recognition for home use?

news.ycombinator.com

1–10 of 130 posts

Ask HN: Non-cloud voice recognition for home use?

#1
I'd like a home-based voice recognition without some off-site cloud.

I'd like a kind of echo dot like thing running on a set of raspberry pi devices each with a microphone and speaker. Ideally they'd be all over the house. I'm happy if they talk back via wifi to a server in my office for whatever real processing. The server might have 16 cores and 128Gb ram. Might even have two of these if required.

What options do I have? What limits? I'd really prefer answers from people who have experiences with the various options.

If it helps I'm happy to reduce vocabulary to a dictionary of words as long as I can add more words as necessary. Training is also ok. I've already analysed my voice conversations with an echo dot and the vocabulary isn't that large.

Please remember: home use, no off-site clouds. I'm not interested in options involving even a free voice speech-to-text cloud. This eliminates google voice recognition, amazon etc. They are great but out of scope.

So far I've identified CMU Sphinx as a candidate but I'm sure there are others.

Ideas?

Re: Ask HN: Non-cloud voice recognition for home use?

#4
post #2

I've read good things about Mycroft [1], though I haven't tried it myself. Ticks all the boxes though [1] https://mycroft.ai/

Mycroft can only kinda sorta be run offline according to the project/company: https://mycroft-ai.gitbook.io/docs/about-mycroft-ai/faq

Re: Ask HN: Non-cloud voice recognition for home use?

#8

Have you considered the Almond integration for Home Assistant? ( https://www.home-assistant.io/integrations/almond/ ) Alternatively, you could just fork the Almond project directly and take it from there: https://github.com/stanford-oval/almond-cloud

No I hadn't. This was why I asked: I know there's alternatives out there but there's so much noise.

Thanks.

Re: Ask HN: Non-cloud voice recognition for home use?

#9
Mozilla DeepSpeech trained on the Common Voice dataset for English. You can get pretrained models too. They have a nice matrix channel where you can get help, and pretty good documentation. It is also actively developed by several engineers. http://voice.mozilla.org/en/datasets and http://github.com/mozilla/DeepSpeech/

Re: Ask HN: Non-cloud voice recognition for home use?

#10
Are you searching for a complete solution including NLP and an engine to perform actions? Some of these are already posted, like Home Assistant, and Mycroft.

Sphinx is just for the automatic speech recognition (ASR) part. But there are better solutions for that:

Kaldi (https://kaldi-asr.org/) is probably the most comprehensive ASR solution, which yields very competitive state-of-the-art results.

RASR (https://www-i6.informatik.rwth-aachen.de/rwth-asr/) is for non-commercial use only but otherwise similar as Kaldi.

If you want to use a simpler ASR system, nowadays end-to-end models perform quite well. There are quite a huge number of projects which support these:

RETURNN (https://github.com/rwth-i6/returnn) is non-commercial TF-based. (Disclaimer: I'm one of the main authors.)

Lingvo (https://github.com/tensorflow/lingvo), from Google, TF-based.

ESPnet (https://github.com/espnet/espnet), PyTorch/Chainer.

...

Post reply on HN