Detecting features

OpenCV provides a number of classes to deal with detecting features (keypoints) from an image. Each class has its own implementation depending on the specific algorithm it implements and may require a different set of parameters to perform correctly, or with the best performance. However, what all of them have in common is the detect function (because they are all subclasses of Feature2D) mentioned previously, which can be used to detect a set of keypoints from an image. A keypoint or feature in OpenCV is a KeyPoint class instance that contains most of the information needed to be stored for a proper keypoint (these terms, namely keypoint and feature, are used interchangeably, and a lot, so just try to get used to it). ...

Get Computer Vision with OpenCV 3 and Qt5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.