You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Hello I have a problem with the pocket sphinx when I say, for example, open google the recognize can't understand what I say and give me a random word here is my code it is very simple:
`
import speech_recognition as sr
import pocketsphinx as ps
r = sr.Recognizer()
mic = sr.Microphone()
with mic as source:
r.adjust_for_ambient_noise(source)
mic = recognizer_instance.recognize_sphinx
print("Listening...")
audio = r.listen(source)
print("Processing...")
result = r.recognize_sphinx(audio)
print(result)
if result =="hello":
print("You said Hello")
elif result == "open google":
print("opening google")
webbrowser.open("google.com")`
The text was updated successfully, but these errors were encountered:
Hello I have a problem with the pocket sphinx when I say, for example, open google the recognize can't understand what I say and give me a random word here is my code it is very simple:
`
import speech_recognition as sr
import pocketsphinx as ps
r = sr.Recognizer()
mic = sr.Microphone()
with mic as source:
r.adjust_for_ambient_noise(source)
mic = recognizer_instance.recognize_sphinx
print("Listening...")
audio = r.listen(source)
print("Processing...")
result = r.recognize_sphinx(audio)
print(result)
The text was updated successfully, but these errors were encountered: