OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
Feature Description

Goal

In this tutorial you will learn how to:

  • Use the cv::DescriptorExtractor interface in order to find the feature vector correspondent to the keypoints. Specifically:
    • Use cv::xfeatures2d::SURF and its function cv::xfeatures2d::SURF::compute to perform the required calculations.
    • Use a cv::DescriptorMatcher to match the features vector
    • Use the function cv::drawMatches to draw the detected matches.
Warning
You need the OpenCV contrib modules to be able to use the SURF features (alternatives are ORB, KAZE, ... features).

Theory

Code

Explanation

Result

Here is the result after applying the BruteForce matcher between the two original images:

Feature_Description_BruteForce_Result.jpg