在 Hololens 中禁用一般语音命令

Disable general speech commands in Hololens

我正在使用 Unity 和 MRTK 为 Hololens 2 制作应用程序。

我想知道是否可以禁用一般语音命令。

也就是说,我想保留我自己创建的语音命令,但我不想识别“拍照”、“拍视频”等短语。

我在互联网上搜索过,但没有找到任何相关信息。

有谁知道是否有这样做的选项?

Unity UWP 应用程序中的语音命令由 same engine that supports speech in Windows 10 System. It means if you disable the Speech feature in Settings > Privacy > Speech, the speech recognition will no longer be available in your Unity app. Apart from this, HoloLens does not provide any way to allow you to modify system commands for now. Therefore, it is recommended you avoid using system commands in your app, or consider using the Unity plug-in for the Cognitive Speech Services SDK 或其他第三方语音引擎提供支持。