FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

pocketsphinx can't understand what i say · Issue #65 · bambocher/pocketsphinx-python · GitHub

This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Repository navigation

This repository was archived by the owner on Jun 27, 2023. It is now read-only.

pocketsphinx can't understand what i say #65

Open

Description

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")`

Activity

  1. deeksha004 commented on Aug 24, 2021

    Hi iProMC, what is the result (text) that you are getting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL