Speech Recognition on Unity Game Engine

99封情书 提交于 2019-12-23 12:47:06

问题


I've succesfully achieved the goal of developing an app on android that use speech recognition from Google API.

But the fact is that I must use a real Game Engine because my app is going to be crossplatform and with a very rich User Interfacea and gestures.

I'm thinking on using Unity Game Engine and I'm going to deploy my app to iOS and Android platforms.

So... searching on web... I figured out that I can't use Google Speech Recognition API on Unity Game Engine becuase its belong to Google... Is that true?

Could you please give me an advice on how to implement this?

First option: Implement a third part library or Unity Speech Recognition API. Wich ones?

Second option (It's possible??): Modularize the package that convert speech to text, and call it via dynamic reflection. On Android deploy, use a Google API. On iOS deploy, use a iOS API (Unkown too).

Thank you in advance.


回答1:


I would recommend looking at CMU Sphinx. http://cmusphinx.sourceforge.net/




回答2:


You can use google's speech recognition with Unity- on Android. On iOS you need to use something else. Unfortunately, as of 6 months ago when I checked iOS didn't have built in speech recognition APIs. So you'll need to try and find a 3rd party library to do it.




回答3:


in the new beta version (5.4), Unity added DictationRecognizer wich is a class that provide speech recognition from microsoft. The accuracy is really good.



来源:https://stackoverflow.com/questions/15917315/speech-recognition-on-unity-game-engine

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