简体   繁体   English

语音识别在使用UWP的raspberry pi 3(Windows IoT核心版)中不起作用

[英]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.

相关问题 如何在Raspberry PI 3的Windows 10 IoT核心版中从ASP.NET Core 2.1调用UWP函数 - How to call UWP function from ASP.NET Core 2.1 in Windows 10 IoT Core for Raspberry PI 3 UART Raspberry Pi Windows IoT核心版Arduino - UART Raspberry pi Windows IoT Core Arduino async await in UWP windows 10 IOT core running in Raspberry Pi 3B and memory leak - async await in UWP windows 10 IOT core running in Raspberry Pi 3B and memory leak 如何使用Windows 10 IoT(UWP)为Raspberry Pi 3创建可移植代码(.net标准2.0)? - How to create portable code (.net standard 2.0) for a Raspberry Pi 3 using Windows 10 IoT (UWP)? 使用UWP和C#刷新图像(Raspberry Pi3 Windows10 IoT) - Refresh an image using UWP and C# (Raspberry Pi3 Windows10 IoT) .NET Core应用程序远程部署到Raspberry Pi上的Windows IoT Core - .NET Core app remote deployment to Windows IoT Core on Raspberry Pi 如何检测连接到运行Windows 10 IoT核心版的Raspberry Pi的USB上的文件? (C#UWP) - How can I detect a file on a USB connected to a Raspberry Pi running Windows 10 IoT Core? (C# UWP) uwp 墨水笔迹识别失败 windows 10 iot core - uwp ink handwriting recognition failed at windows 10 iot core 使用Windows 10 IOT Core在Raspberry Pi中播放wav文件 - play wav file in Raspberry Pi with Windows 10 IOT Core Windows 10 IoT核心版上的BackgroundDownloader在Raspberry Pi上未完成 - BackgroundDownloader on Windows 10 IoT Core does not complete on Raspberry Pi
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM