SpeechRecognizer not work, COMException: Class not registered/ UWP App Windows IoT (10.0.10586) and Visual Studio 2015 Update 1

筅森魡賤 提交于 2019-12-06 10:37:24

RecognizeWithUIAsync isn't implemented in Windows IoT (because there's no UI). You can use RecognizeAsync just fine.

Finally got SpeechRecognizer to work with Windows IoT 10.0.10586 and Visual Studio 2015 Update 1.

The solution: Use a microphone that is fully compatible with Windows IoT 10.0.10586. I use the Microsoft LifeCam HD-3000 (there is a microphone included).

SpeechRecognizer now working with ContinuousRecognitionSession and RecognizeAsync with a grammer file (file that defines what user can say) and with dictation (free speech). RecognizeWithUIAsync not work and maybe never will work (see Eric Browns answer).

Note: It is a mistake to believe that if a microphone works in any other app, it have to work with SpeechRecognizer, too. I have a microphone that works with a simple audio recorder app, but not works with the SpeechRecognizer. Note also that microphones that have worked with SpeechRecognizer in older Windows IoT versions not always have to work with SpeechRecognizer in Windows IoT 10.0.10586.

It is not really nice to use a webcam as microphone. If someone has a microphone that works with SpeechRecognizer and Windows IoT 10.0.10586 please post it.


If you look for a SpeechRecognizer ContinuousRecognitionSession with a grammar file example you can look in following project. In the comments you can see how you can use other languages with SpeechRecognizer.

https://www.hackster.io/krvarma/rpivoice-051857


Perhaps there is in future driver updates in Windows Updates and we no longer have such problems.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!