谷歌云语音API返回空的结果 [英] google cloud speech api returning empty result

查看:180
本文介绍了谷歌云语音API返回空的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Chromium Google Speech API,并最近转而使用Google Cloud Speech API。自从Google云语音API发布以来,性能似乎在识别的准确性方面已经下降。我还看到,音频流式传输中会出现越来越多的空洞结果。

我将音频同时传输到多种不同的服务,Google云语音API将返回空导致一些其他服务正在返回转录文本。让我想知道Chromium Speech API和Google Cloud Speech API的工作方式是否有所改变?

我验证了音频的正确标题并验证了我是将音频流式传输到Google。



有人经历过Google有时(更多时候大部分时间)返回空结果吗?

解决方案

这类问题更适合公共问题追踪器,因为它需要更多详细信息才能重现您的确切错误。请务必填写此表格提供所需的信息,或者至少以您的代码的最小工作示例清楚地突出显示问题。为了准确再现,提供您执行的示例代码或命令非常重要,该代码或命令与您流式传输的音频文件的配置文件和URI(或文件)一起返回错误,并返回空结果。



事实上,目前存在于Beta中的语音API存在已知问题,因此可能会阻止转录正常工作。与此同时,您可以参阅以下文档,以确定是否有任何最佳做法适用于您的案例。


I have been using the Chromium Google Speech API and switched over to using the Google Cloud Speech API recently. Ever since the Google cloud speech API got announced, the performance seems to have degraded in terms of the accuracy of recognition. Also I see that there are more and more "empty results" coming back for audio streamed.

I stream audio simultaneously to multiple different services and Google Cloud Speech API is returning empty result while some of the other services are returning transcribed text. Makes me wonder if there is anything changed in the way the Chromium Speech API and the Google Cloud Speech API work?

I validated the audio for proper headers and validated that I am streaming audio to Google.

Is anyone experiencing that Google sometimes (more like majority of the time) returning empty result?

解决方案

This type of question is more appropriate for Public Issue Tracker as it would require further details in order to reproduce your exact errors. Make sure to fill in this form with the required information or at least with a minimal working example of your code clearly highlighting the problem. For an accurate reproduction, It would be important to provide the sample codes or commands that you executed and which returned the error alongside the configuration files and the URIs(or files) of the audio files you streamed and which returned empty results.

As a matter of fact, there exists known issues with the speech API that is currently in the Beta and so may prevent the transcription from working correctly. In the meantime, You may refer to the following documentation to determine if any of the best practices would apply to your case.

这篇关于谷歌云语音API返回空的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆