speach recognisation using python


speech recognization.

filename = input("please enter audio with extension ")#extension in .wav
with sr.AudioFile(filename) as source:
    audiofile = recog.listen(source)
    try:
        text = recog.recognize_google(audiofile)
        print(text)
    except:
        print("check internet connection")
    

Comments

Popular posts from this blog

Pcb Fault Detection(Deep Learning Technique)

environment creation on python

rock paper scisor game