Selecting good corners in an image for tracking

In this recipe, you will learn how to detect keypoints in an image and apply simple post-processing heuristics for improving the overall quality of detected keypoints such as getting rid of keypoint clusters and removing relatively weak keypoints. This functionality is useful in such computer vision tasks as object tracking and video stabilization, since improving the quality of detected keypoints affects the final quality of the corresponding algorithms.

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.