i want to use kinect sdk voice recognition to run application from Metro UI.
For Example when i say the word:News, it would run from Metro UI the application of News.
Thanks to everybody!
Regards!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First you need to Make the connection with the audio stream and start listening:
First you can see in the sample that there’s one important step
sre.LoadGrammar(CreateGrammars());which creates and loads the grammar so you have to create the methodCreateGrammars():The above sample create a grammar listening for the word “News”. Once it is recognized (the probability that the word said is one in your grammar is higher than a threshold), the speech recognizer engine (sre) raise the SpeechRecognized event.
Of course you need to add the proper handler for the two events (Hypothetize, Recognize):
Know all you have to do is to write the
InterpretCommandmethod which does whatever you want (as running a metro app 😉 ). If you have multiple words in a dictionnary the method has to parse the text recognized and verify that this is the word news wich was recognized.Here you can download samples of a great book on Kinect: Beginning Kinect Programming with the Microsoft Kinect SDK (unfortunately the book itself is not free). On the folder Chapter7\PutThatThereComplete\ you have a sample using audio that you can be inspired by.