Answers for "*** AttributeError: module 'cv2.cv2' has no attribute 'drawKeypoints'"

C
0

*** AttributeError: module 'cv2.cv2' has no attribute 'drawKeypoints'

Solution 1
** upgrade opencv from 4.0.0 to 4.0.1 or higher

Solution2
for marker in kp:
	img2 = cv2.drawMarker(img2, tuple(int(i) for i in marker.pt), color=(0, 255, 0))
Posted by: Guest on March-24-2021

Code answers related to "*** AttributeError: module 'cv2.cv2' has no attribute 'drawKeypoints'"

Code answers related to "C"

Browse Popular Code Answers by Language