alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.92k stars 1.1k forks source link

Is .NetCore running on Raspberry PI supported? #229

Open dev-bre opened 4 years ago

nshmyrev commented 4 years ago

Sorry, I never tried that. You can try to compile yourself (take a note that it is easier to cross-compile kaldi than compile it on rpi3, rpi4 is ok).

Please let me know if you need any help on this.

dev-bre commented 4 years ago

Any chance you could guide me on how to compile this properly to work in c# running from an rpi?

nshmyrev commented 4 years ago

Any chance you could guide me on how to compile this properly to work in c# running from an rpi?

You need to run this docker with kaldi libraries:

https://github.com/alphacep/vosk-api/blob/master/travis/Dockerfile.dockcross

it will compile kaldi for rpi, all libkaldi-lm and others.

Then you need to run this makefile:

https://github.com/alphacep/vosk-api/tree/master/csharp

It should work then. It is not very straightforward but might work if you run all the steps.

dev-bre commented 4 years ago

Sorry I am pretty new in all this, can you please be more specific about the commands to run?

A step by step guide I think would be beneficial for many.

nshmyrev commented 4 years ago

A step by step guide I think would be beneficial for many.

It will take some time to get an rpi and produce a step-by-step guide. Meanwhile you can try yourself.

nshmyrev commented 3 years ago

Core issue to track https://github.com/alphacep/vosk-api/issues/246