Is their any way to record the audio from a html page and directly send it to python function in flask.?

后端 未结 0 926
Happy的楠姐
Happy的楠姐 2021-02-03 14:24
import speech_recognition as sr
import pyaudio
r = sr.Recognizer()
with sr.Microphone() as source:
    print(\'speak anything : \')
    audio = r.listen(source)
    try:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题