import speech_recognition as sr
# 使用麦克风进行语音输入
r = sr.Recognizer()
with sr.Microphone() as source:
print("请开始说话:"
Python语音识别:实现语音转文本功能
最新推荐文章于 2025-02-19 14:48:43 发布
import speech_recognition as sr
# 使用麦克风进行语音输入
r = sr.Recognizer()
with sr.Microphone() as source:
print("请开始说话:"