[英]speech recognition not working in raspberry pi 3(windows iot core) using UWP
var speechRecognizer = new SpeechRecognizer();
await speechRecognizer.CompileConstraintsAsync();
var webSearchGrammar = new Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint
(Windows.Media.SpeechRecognition.SpeechRecognitionScenario.WebSearch, "webSearch");
speechRecognizer.Constraints.Add(webSearchGrammar);
await speechRecognizer.CompileConstraintsAsync();
SpeechRecognitionResult speechRecognitionResult = await speechRecognizer.RecognizeWithUIAsync();
var question = speechRecognitionResult;
This is the code i am using to recognize speech in uwp, the solution is working in local but when deployed in raspberry pi, it's not able to recognize the speech. 这是我用来识别uwp中语音的代码,该解决方案在本地工作,但是在树莓派中部署时,它无法识别语音。 I also updated the latest version of windows10 iot core. 我还更新了Windows10物联网核心的最新版本。 Before updating windows 10 iot core it worked in raspberry pi but after updation it's not able to recognize(it's an observation) 在更新Windows 10 IoT核心之前,它可以在Raspberry Pi中工作,但更新后无法识别(这是一个观察结果)
You should check if the upgraded device has provided Voice Permission from Cortana. 您应该检查升级后的设备是否已从Cortana提供了语音许可。 If not, you need to launch cortana on your device, please refer to this document about Cortana On IoT . 否则,您需要在设备上启动cortana,请参阅有关IoT上Cortana的文档。 When using Speech recognition , we should ensure that device has a microphone or the equivalent, and provides the Privacy for Speech, inking, and typing. 使用语音识别时 ,我们应确保设备具有麦克风或同等功能,并提供语音,墨迹和打字的隐私权。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.