实时和离线语音识别? [英] Realtime and Offline voice recognition?
问题描述
大多数语音识别解决方案似乎依赖于远程服务器。我感兴趣的是让玩家发出简单的左,右和回头命令来的车辆。识别将需要非常快(互联网因此不可能的),而只需要能够三个命令之间进行区分。
Most voice recognition solutions on Android seem to rely on remote servers. I'm interested in allowing the player to issue simple "left", "right" and "turn back" commands to a vehicle. The recognition would need to be very fast (internet is thus out of the question), but only needs to be able to distinguish between three commands.
推荐答案
问得好!
这可以通过实现一些事情来实现:
This can be achieved by implementing a few things:
- 捕获一个
的InputStream
- 处理音频
- 系统识别与语法和你的话(上,下,左,右,跳)
- 解析器
这个项目将是非常有用的你:
This project will be quite useful to you:
的http:// code .google.com / p / tellmeajoke /来源/浏览/#SVN%2Ftrunk%2Fsrc
编辑: http://forum.xda-developers.com/showthread。 PHP?T = 743679 的其他应用程序的处理可以不同,但上面的例子就是做这件事。
http://forum.xda-developers.com/showthread.php?t=743679 other applications may handle it differently, but the example above is one way to do it.
这篇关于实时和离线语音识别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!