摘要: 1,下载依赖包 pip install SpeechRecognition pip install pyaudio 2,代码 import speech_recognition as sr r = sr.Recognizer() # 方案一: 用音频文件 with sr.AudioFile(r'22 阅读全文
posted @ 2023-11-22 19:07 夜未央leo 阅读(46) 评论(0) 推荐(0) 编辑