语音识别REST API报3307的错误
sereneeye 发布于2017-10 浏览:5388 回复:2
0
收藏

我使用的服务是:语音识别REST API

调用的接口是:AipSpeech

参数设置情况:

stream = get_file_content('D:/workdoc/julive/speech_demo/audio/test.wav')
result = aipSpeech.asr(stream,'wav',8000,{'lan':'zh'})

开发平台和机型:Windows10, Alien Ware

SDK版本号:1.6.6.0

代码或日志截图(上传截图能帮助您更快解决问题):

复现步骤、现象及其他描述:

收藏
点赞
0
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#3sereneeye回复于2017-10

我把语音文件对应的采样率改成16000,就解决了。。。。

0
#2fujiayi1984回复于2017-10

sereneeye:

我使用的服务是:语音识别REST API

调用的接口是:AipSpeech

参数设置情况:

stream = get_file_content('D:/workdoc/julive/speech_demo/audio/test.wav')
result = aipSpeech.asr(stream,'wav',8000,{'lan':'zh'})

开发平台和机型:Windows10, Alien Ware

SDK版本号:1.6.6.0

代码或日志截图(上传截图能帮助您更快解决问题):

复现步骤、现象及其他描述:

回复sereneeye:请使用下 http://yuyin.baidu.com/docs/asr/57 里的示例音频测试

0
TOP
切换版块