March 2019
Intermediate to advanced
532 pages
13h 2m
English
orb = cv2.ORB()keypoints = orb.detect(image, None)keypoints, descriptors = orb.compute(image, keypoints)
image_keypoints = cv2.drawKeypoints(image, keypoints, None, color=(255, 0, 255), flags=0)
To draw detected keypoints, the cv2.drawKeypoints() function is used.
bf_matcher = cv2.BFMatcher(cv2.NORM_HAMMING, crossCheck=True)bf_matches = bf_matcher.match(descriptors_1, descriptors_2)