How To Use Star Detector In Opencv 3 With Python?
I'm trying to use the STAR detector in openCV 3, and it's throwing an error: import cv2 image = cv2.imread('grand_central_terminal.png') gray = cv2.cvtColor(image, cv2.COLOR_BGR2G
Solution 1:
The error code -213
you are receiving indicates that the detectAndCompute
method is not implemented for the STAR detector. That is because STAR is only a feature detector, not a combination detector and descriptor. Your code can be fixed by calling the detect
method instead:
kps = star.detect(gray)
Post a Comment for "How To Use Star Detector In Opencv 3 With Python?"