I am getting an error:
Traceback (most recent call last):
File "d:\buh\DynamicTextReader.py", line 68, in <module>
lmList, bboxInfo = detector.findPosition(img)
AttributeError: 'HandDetector' object has no attribute 'findPosition'
When running the program:
import cv2
from cvzone.HandTrackingModule import HandDetector
from time import sleep
import numpy as np
import cvzone
from pynput.keyboard import Controller
lmList, bboxInfo = detector.findPosition(img) # The Error Is In This Line
img = drawAll(img, buttonList)
(I removed many parts of the code)
My python version is 3.9.0.
I tried to change the versions of cvzone but the error couldn't resolve.