OGeek|极客世界-中国程序员成长平台

标题: ios - 在带有 Bluemix 的 iOS 应用程序中使用 Watson Speech to Text 服务 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 11:39
标题: ios - 在带有 Bluemix 的 iOS 应用程序中使用 Watson Speech to Text 服务

我们正在 Bluemix 上创建一个 iOS 应用程序,并尝试将 Speech to Text 服务链接起来。我们已经将服务绑定(bind)到应用程序,但现在我们不知道如何在应用程序中使用服务。

如果后端托管在 Bluemix 上,我们如何在 iOS 应用程序中使用 Speech to Text API?



Best Answer-推荐答案


你有两个选择:

  1. 您直接从 iOS 应用程序调用 Watson Speech to Text 服务。您可以使用类似 RestKit 的方式直接从您的 iOS 应用程序调用 REST API。 ,或者您可以使用 Watson Speech iOS SDK使调用更容易。

  2. 您可以将所有接收到的音频发送到您在 Bluemix 上的应用程序(用作移动后端),然后从那里调用 Speech to Text REST API。这将从移动设备上卸载计算,但很可能会增加将音频转录返回到您的手机的延迟。

关于ios - 在带有 Bluemix 的 iOS 应用程序中使用 Watson Speech to Text 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33573861/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4