Ask Your Question

Revision history [back]

click to hide/show revision 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)

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!