我目前正在使用来自nuget for xamarin form项目的谷歌语音云Beta1包: Google.Apis.CloudSpeechAPI.v1beta1。我设法发送了从麦克风捕获的音频,并将整个音频发送到speech cloud以获取结果。
var speechRequest = new SyncRecognizeRequest();
speechRequest.Config = new RecognitionConfig();
speechRequest.Config.SampleRate = 1600
我希望在没有- curl或ibm_watson模块的情况下使用IBM语音识别服务。
我的尝试如下:
import speech_recognition as sr
r = sr.Recognizer()
text = r.recognize_ibm(audio,username='',password='')
即使我有IBM云语音文本的“服务凭据”,我也找不到该函数的正确形式。
在recognize_ibm()的文档中,有人说我需要输入才能找到格式的username。
但是link_1坏了。在哪里可以找到username和password?
我还尝试了text
项目git地址为https://github.com/tencentyun/wafer2-aai-nodejs
在配置完qcloudAppId,qcloudSecretId,qcloudSecretKey,
运行后控制台提示errMsg: "uploadFile:fail Unable to resolve host "465712482.ijason.club": No address associated with hostname"
// 此处主机域名修改成腾讯云解决方案分配的域名
var host = 'https://465712482.ij