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))