GOOGLE SPEECH SEARCH

 import speech_recognition as sr

import webbrowser


r = sr.Recognizer()

with sr.Microphone() as source:

    print("What you want to search\n")

    print("Listening.......\n")

    audio = r.listen(source)


print(('opening : ' + r.recognize_google(audio)))


p = r.recognize_google(audio)

webbrowser.open(p)


Comments

Popular posts from this blog

PROJECT 3

Cascading Style Sheets(CSS)

SPEEDTEST PYTHON PROJECT