Voice Recognition Implementation
-
@Naveen_D said in Voice Recognition Implementation:
pocketsphinx
http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx
There is a Basic Usage (hello world) sample.
That should do it :) -
@mrjj hi,
When run this command
pocketsphinx_continuous
-hmm /usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k
-dict /usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic
-lm /usr/share/pocketsphinx/model/lm/en_US/hub4.5000.DMPi get this output can u pls tell me wats the prb here...
INFO: continuous.c(295): Specify '-infile <file.wav>' to recognize from file or '-inmic yes' to recognize from microphone. -
Also i am not able to understand what they are doing in the hello world example in
http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx can anyone pls help me out in this concern -
@Naveen_D said in Voice Recognition Implementation:
INFO: continuous.c(295): Specify '-infile <file.wav>' to recognize from file or '-inmic yes' to recognize from microphone.
Sadly I dont know pocketsphinx, i just browsed over the docs to help you,
if I should guess, i think it ask where to get the input from.
You give it the data files ( dic + friends) and then it says
give me -INFILE for a file with input or -inmic to use your mic.- Also i am not able to understand what they are doing in the hello world example
Which part? There are pretty good explaining in between the code.
Not sure we can make it much better unless some user comes by that
actually use pocketsphinx :)
- Also i am not able to understand what they are doing in the hello world example
-
@Naveen_D
Hi, you can try the QtSpeech as SGaist mentions.
It seems it uses pocket also
http://cmusphinx.sourceforge.net/2015/10/qtspeechrecognition-api-for-qt-using-pocketsphinx/
"You can find the sources in review in qtspeech project, branch wip/speech-recognition."So maybe :)
-
@mrjj Hi i am trying voice recognition with julius, I have installed julius on my ubuntu system and configured it, i have created one my.jconfg file from the sample.jconfg file which i got after installing julius. but when i run that, I get the following output
ubuntu@ub:~/Documents/julius-4.2.2/test$ padsp julius -C my.jconf
STAT: include config: my.jconf<<< please speak >>>^C
I am not sure is it running or not, How to confirm that it is running or not ?
-
@mrjj But one problem is there...when i change the .grammar and .voca files for different commands it gives error i followed the steps given in this link http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/data-prep/step-1 to generate .grammar and .voca files and generate their respective .dict and .dfa files but when i run it gives, error in loading model...it only worked for the test example which was provided in that link.... :-(
When i run the command after changing that files this is the output...
ubuntu@ub:~/Documents/julius-4.2.2/SampleTest$ padsp julius -C my.jconfSTAT: include config: my.jconf
ERROR: Error in loading model
ubuntu@ub:~/Documents/julius-4.2.2/SampleTest$ ^C -
Sorry i got the test example from the following link...
http://kamilskowron.pl/en/linux/julius-step-by-step-step-2-basic-configuration/ -
@mrjj No i have not tried that...To know the process how to generate my own grammar i thought i will change the .grammar and .voca file for small commands (my own commands) and generate the .dict and .dfa files for that and try but was not successful...
I will try his next sample for media player.