Simple api over mozilla deepspeech voice recognition engine.
POST /api/v1/stt - Just look at curl command below.
Speech data may be provided in whatever audio format which ffmpeg is able to convert to wav,
so you probably don't have to worry about this at all.
$ curl -X POST -F "speech=@speech.mp3" http://127.0.0.1:8000/api/v1/stt
{"text":"experience proves this","time":0.9638644850056153}
git clone git@github.com:zelo/deepspeech-rest-api.git
<repository_root>
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.pbmm -O model.pbmm
<repository_root>
docker-compose
docker-compose up
docker run
docker build . --tag zelo/deepspeech-rest-api:0.9.1
docker run --rm --publish=127.0.0.1:8000:8000 --volume=$(pwd)/model.pbmm:/app/model.pbmm:ro zelo/deepspeech-rest-api:0.9.1
Just look at the content of Dockerfile
it contains complete instruction to setup app under debian