wpf - 语音识别 - 未处理的异常 - 未找到 SAPI,即使已安装

我正在尝试使用 Microsoft Kinect 进行音频识别。这是在 Windows 7 x64 机器上。

我能够使用 Kinect 进行语音识别,使用默认的 Windows 语音识别。 我已经安装了 Microsoft Speech SDK 5.1、SpeechPlatformRuntime (x64) 和 MicrosoftSpeechPlatformSDK (x64),针对 .NET 4.0 进行编译(也尝试使用客户端版本)。

但是当我尝试在 VS 的 wpf 应用程序中执行此操作时,

RecognizerInfo ri = SpeechRecognitionEngine.InstalledRecognizers().Where(
    r => r.Id == "SR_MS_en-US_Kinect_10.0").FirstOrDefault();
var sre = new SpeechRecognitionEngine(ri.Id);

它在输出窗口中抛出以下内容..

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.Speech.dll
A first chance exception of type 'System.PlatformNotSupportedException' occurred in Microsoft.Speech.dll
An unhandled exception of type 'System.PlatformNotSupportedException' occurred in Microsoft.Speech.dll

Additional information: Speech Recognition is not available on this system. SAPI and Speech Recognition engines cannot be found.

我在这里遗漏了一些小而重要的东西。因为,Windows 可以使用 Kinect 来识别语音,所以我确信所有必要的驱动程序都已安装。此外,我还安装了 SAPI 和语音 SDK。

最佳答案

忘记安装 x86 版本的 Microsoft Speech Platform - Server Runtime。

在“Kinect for Windows SDK Beta 2 更新”下提到:http://channel9.msdn.com/Series/KinectSDKQuickstarts/Getting-Started

https://stackoverflow.com/questions/9089931/

相关文章:

php - php中var-export函数的反义词是什么?

cuda - 在 Cmake 项目中指定 openmp CUDA 标志

.net - 如何设置 "user cannot change password"AD属性

google-chrome - 使用 TFS/NUnit 通过构建过程执行时,使用 Google C

r - ggplot 中的条形图,每组条数不同

ruby-on-rails - 如何从 Rails 中的模型继承,其中一种类型在不交织的情况下扩展另

sql - 查找某个点之后或之前的值

rest - 强制 web api 消费者接受响应中的新字段

mysql - 导入mysql数据中断,如何恢复?

python - subprocess.Popen 不是线程安全的?