树莓派语音识别

树莓派语音识别无评论

2014年6月6日 上午10:52分类:硬件 阅读: 11,527 次

参考: 12 12 1、语音记录为文件,放入队列 2、从文件队列取文件,提交给google识别 wget -O "GoogleSpeechAPI.txt" --user-agent="Mozilla/5.0" --post-file=time.wav --header="Content-Type: audio/L16; rate=16000" "http://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=zh-CN&maxresults=1" 3、分析识别后的文本,如匹配则执行相应的命令动作


【阅读全文】