alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

setting up the server for http api call #250

Closed sirifarif closed 3 years ago

sirifarif commented 3 years ago

According to the README, the server can be used with HTTP API call, however, I was not able to run it smoothly. the readme file section is here:

I used the command for wav file as: curl -T test/data/english_test.wav "http://localhost:8888/client/dynamic/recognize" and for raw files as: curl -v -T test/data/english_test.raw -H "Content-Type: audio/x-raw-int; rate=16000" --header "Transfer-Encoding: chunked" --limit-rate 32000 "http://localhost:8888/client/dynamic/recognize"

Does anyone use the server with HTTP API calls, can please share their experience?

sirifarif commented 3 years ago

@alumae Any leads on this. many thanks

sirifarif commented 3 years ago

figured it out, thanks