我使用 Google Speech API 通过 Python 识别 .OGG 文件音频中的越南语语音。但它不会返回任何结果。
最佳答案
至少在英文版的Google Speech API中,需要使用FLAC输入文件或Linear 16输入文件(不是OGG音频格式)。
有关更多上下文,请参阅此故障排除页面:https://cloud.google.com/speech-to-text/docs/troubleshooting
关于speech-recognition - 谷歌语音 API : Can recognize speech from OGG file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45439319/