Matching techniques for finding correspondences between descriptors

We want to find a correspondence between keypoints in detection and tracking tasks, but we can't compare the points themselves; instead, we should deal with keypoints descriptors. Keypoints descriptors were especially developed to make it possible to compare them. This recipe shows you OpenCV's approaches to comparing the descriptors and building up the correspondence between them using various matching techniques.

Get OpenCV 3 Computer Vision with Python Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.