-
Notifications
You must be signed in to change notification settings - Fork 85
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
simple wav decoding don't work #30
Comments
I am also facing same issue |
Me too #31 |
Back in #11 I posted a tar of some test code (see https://github.com/api-ai/asr-server/files/828349/APIAI_Server.tar.gz) that allows you to input xx.raw files directly. I just tried that code again today against Kaldi pulled from Github today and it worked for me (note that to compile you need to remove kaldi-thread.a from src/Makefile). The output for En_1272-128104-0000.raw was... {"status":"ok","data":[{"confidence":0.897815,"text":"MR QUARTERS THE APOSTLE OF MIDDLE CLASS AND WE'RE GLAD WELCOME HIS GOSPEL"}]} You might try that code. It's a bit hackerish but if you compile and execute run.sh it'll decode the included test.raw. Be sure to change the location of the model as defined at the top of run.sh. |
En_1272-128104-0000.zip
installation and compile was success. But when trying a simple wav english file, there's no recognition.
to be sure that file is correct , i used "ffmpeg -i En_1272-128104-0000.wav -f s16le -ar 16000 -ac 1 En_1272-128104-0000.raw"
what i have missing ?
thanks to help
RESULT
curl -H "Content-Type: application/octet-stream" --data-binary En_1272-128104-0000.raw http://localhost/asr
{"status":"ok","data":[{"confidence":0.932974,"text":""}]}
The text was updated successfully, but these errors were encountered: