1 | initial version |
FAST is only a keypoint detector. (you can't get any feature descriptors from it)
so you're restricted to :
detector = cv2.FastFeatureDetector_create()
kp = detector.detect(img ,None)
2 | No.2 Revision |
FAST is only a keypoint detector. (you can't get any feature descriptors from it)
so you're restricted to :
detector = cv2.FastFeatureDetector_create()
kp = detector.detect(img ,None)
now, to extract features, you will need a separate instance of a DescriptorExtractor, let's try BRISK:
br = cv2.BRISK_create();
kp, des = br.compute(img, kp) # note: no mask here!