Reputation: 91
how to perform continuous speech recognition from microphone using pocketsphinx .how to use gstreamer plugin api in C ?
Upvotes: 3
Views: 4244
Reputation: 25220
how to perform continuous speech recognition from microphone using pocketsphinx
There are several APIs for that. One of them is plain pocketsphinx API. You can read pocketsphinx_continuous source in pocketsphinx/src/continuous.c to see how to use it. You can just include source code from continuous.c into your application.
how to use gstreamer plugin api in C ?
If you want to work with gstreamer, you first need to learn gstreamer basics. Here you can find some gstreamer documentation.
http://docs.gstreamer.com/display/GstSDK/Basic+tutorials
Unfortunately it's hard to cover everything in a single response, but the basic sequence of items is:
It's not different from the python example in pocketsphinx/src/gst-plugin/livedemo.py except you need to call the same methods from C.
Upvotes: 4