detector = cv2.xfeatures2d.SURF_create(hessianThreshold, nOctaves, nOctaveLayers, extended, upright) in eyeDetect.py file
AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'
I am using opencv version 4.1.0 and getting this error.
How do I solve this?
detector = cv2.xfeatures2d.SURF_create(hessianThreshold, nOctaves, nOctaveLayers, extended, upright)in eyeDetect.py fileAttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'
I am using opencv version 4.1.0 and getting this error.
How do I solve this?