Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Recognizer' object has no attribute 'recognize_google' #744

Open
RehanShk opened this issue Apr 11, 2024 · 1 comment
Open
Assignees
Labels

Comments

@RehanShk
Copy link

RehanShk commented Apr 11, 2024

Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jetson/.local/lib/python3.8/site-packages/speech_recognition/__init__.py", line 568, in threaded_listen
    if running[0]: callback(self, audio)
  File "/home/jetson/FYP/Main.py", line 24, in callback
    command = recognizer.recognize_google(audio).lower()
AttributeError: 'Recognizer' object has no attribute 'recognize_google'

I am using background_listening example of speech_recognition, It was working fine everytime I was using it, but after I installed deepface, its giving me above error

@ftnext
Copy link
Collaborator

ftnext commented Apr 12, 2024

@RehanShk Please report according to the issue template.
It is also helpful to share the entire traceback and the whole script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants