菜鸟教程小白 发表于 2022-12-13 11:39:59

ios - 在带有 Bluemix 的 iOS 应用程序中使用 Watson Speech to Text 服务


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

<p>如果后端托管在 Bluemix 上,我们如何在 iOS 应用程序中使用 Speech to Text API?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>你有两个选择:</p>

<ol>
<li><p>您直接从 iOS 应用程序调用 Watson Speech to Text 服务。您可以使用类似 <a href="https://github.com/RestKit/RestKit" rel="noreferrer noopener nofollow">RestKit</a> 的方式直接从您的 iOS 应用程序调用 REST API。 ,或者您可以使用 <a href="https://github.com/watson-developer-cloud/speech-ios-sdk%20Watson%20Speech%20iOS%20SDK" rel="noreferrer noopener nofollow">Watson Speech iOS SDK</a>使调用更容易。</p></li>
<li><p>您可以将所有接收到的音频发送到您在 Bluemix 上的应用程序(用作移动后端),然后从那里调用 Speech to Text REST API。这将从移动设备上卸载计算,但很可能会增加将音频转录返回到您的手机的延迟。</p></li>
</ol></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 在带有 Bluemix 的 iOS 应用程序中使用 Watson Speech to Text 服务,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/33573861/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/33573861/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 在带有 Bluemix 的 iOS 应用程序中使用 Watson Speech to Text 服务