murtazahassan / Robot-Arm-Gesture-Control

37 stars 21 forks source link

no attribute for HandDetector in cvzone #1

Open cautillm opened 3 years ago

cautillm commented 3 years ago

Hi I have been trying to reproduce the tuto about the robot hand but there is something that does not work

detector = cvzone.HandDetector(maxHands=1, detectionCon=0.7) AttributeError: module 'cvzone' has no attribute 'HandDetector'

Do I miss something ?

alaawadi commented 2 years ago

pip install cvzone==1.4.1

sohamx5800 commented 2 years ago

use cvzone==1.1 and enjoy

chalescharli commented 5 months ago

i got same error and i also downlode 1.1 version of cvzone but still error what i will do know

sohamx5800 commented 5 months ago

I think it's a issue with your python version, switch the version to python 3.7 or 3.8 and reinstall the ' opencv ' so uninstall using (pip uninstall opencv) and install it again using ( pip install opencv) .

By this way I hope your issue will be resolve.

On Sun, 7 Apr, 2024, 6:43 pm debug001charli, @.***> wrote:

i got same error and i also downlode 1.1 version of cvzone but still error what i will do know

— Reply to this email directly, view it on GitHub https://github.com/murtazahassan/Robot-Arm-Gesture-Control/issues/1#issuecomment-2041466863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW7QXAVH64CZCYLCI5TFWFTY4FA67AVCNFSM5CDPY7G2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBUGE2DMNRYGYZQ . You are receiving this because you commented.Message ID: @.***>