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)

using your age and duration of workout finding how much calories you burned!

list of keyword in python