No attribute found HandTrackingModule in PyCham

260 Views Asked by At

I am working on a mini-project (AI VIRTUAL MOUSE) I'm using Python 3.8.0(x86 64-bit) & Pycham(2022.1) I've Installed Libraries & modules such as: NumPy,autopy,OpenCV-python,HandTrackingModule & media pipe after writing the code I got this error

AttributeError: module 'HandTrackingModule' has no attribute 'handDetector'

Please guide me to resolve the issue.

1

There are 1 best solutions below

1
On

if your using cvzone install it and use from cvzone.HandTrackingModule import HandDetector If it still doesn't work, then it would be pragmatc if you share some code