Hello Everyone,
I use opencv-contrib 4.7.0.72 and I’m trying to use the detectMarkers() function from the ArucoDetector class, which takes only an Image as input. But I keep getting the following error. I appreciate your help.
descriptor ‘detectMarkers’ for ‘cv2.aruco.ArucoDetector’ objects doesn’t apply to a ‘numpy.ndarray’ object
that’s wrong.
you first need to create a cv2.aruco.ArucoDetectorinstance (this is a class !!) ,
then call detectMarkers() on that.
(it’s not a static/free function !)