【问题标题】:How can I implement a Voice Recognition android app without Google Speech API?如何在没有 Google Speech API 的情况下实现语音识别 android 应用?
【发布时间】:2015-05-27 21:42:04
【问题描述】:

我正在考虑将语音屏幕锁定器/解锁器 Android 应用程序的工作作为我的最终毕业项目,我在按下锁定按钮时如何打开麦克风以便它可以一直收听直到说出密码。

与“Ok Google”功能的想法相同,但使用了个性化密码,我无法使用 Google Speech API。

如果密码正确,我必须捕获密码,处理并解锁(或不解锁)屏幕。

我已经搜索过它,但我只找到了使用 RecognizerIntent 和其他类的 Google Speech API 的技术。

我需要知道如何在显示锁屏时开始收听麦克风,以便捕获音频流。不允许我使用任何 api 没有 Google Speech 也没有 Pocketsphinx 你能帮帮我吗?

【问题讨论】:

标签: android audio-recording voice-recognition


【解决方案1】:

您可以使用其他 API,例如 Pocketsphinx

http://cmusphinx.sourceforge.net/wiki/tutorialandroid

【讨论】:

    猜你喜欢
    • 2019-09-11
    • 1970-01-01
    • 1970-01-01
    • 2016-10-31
    • 1970-01-01
    • 1970-01-01
    • 2015-04-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多