Skip to content

Features and matching

All modules / features

AffineFeatureclass

Class for implementing the wrapper which makes detectors and extractors to be affine invariant,

AffineFeature_createfunction

Create an owned AffineFeature instance with the supplied configuration.

ALIKEDclass

ALIKED feature detector and descriptor extractor.

ALIKED_createfunction

Creates ALIKED from a model file path.

ALIKED_Paramsclass

aliked params value in the OpenCV API.

ANNIndexclass

\

ANNIndex_createfunction

Creates an instance of annoy index class with given parameters

ANNIndex_Distanceclass

Metrics used to calculate the distance between two feature vectors.

BFMatcherclass

Brute-force descriptor matcher.

BFMatcher_createfunction

Brute-force matcher create method.

DescriptorMatcherclass

features_main

DescriptorMatcher_createfunction

Creates a descriptor matcher of a given type with the default parameters (using default

DescriptorMatcher_create1function

Creates a descriptor matcher of a given type with the default parameters (using default

DescriptorMatcher_MatcherTypeclass

Native enum entries for descriptor matcher matcher type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

DISKclass

DISK feature detector and descriptor, based on a DNN model.

DISK_createfunction

Creates a DISK detector.

drawKeypointsfunction

Draws keypoints.

drawMatchesfunction

Draws the found matches of keypoints from two images.

drawMatches1function

Draws the found matches of keypoints from two images.

DrawMatchesFlagsclass

features_match

drawMatchesKnnfunction

Draws the found matches of keypoints from two images.

FastFeatureDetectorclass

Wrapping class for feature detection using the FAST method.

FastFeatureDetector_createfunction

Create an owned FastFeatureDetector instance with the supplied configuration.

FastFeatureDetector_DetectorTypeclass

Native enum entries for fast feature detector detector type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Feature2Dclass

Base Classes

FlannBasedMatcherclass

Flann-based descriptor matcher.

FlannBasedMatcher_createfunction

Create an owned FlannBasedMatcher instance with the supplied configuration.

GFTTDetectorclass

Wrapping class for feature detection using the goodFeaturesToTrack function. :

GFTTDetector_createfunction

Create an owned GFTTDetector instance with the supplied configuration.

GFTTDetector_create1function

Create an owned GFTTDetector instance with the supplied configuration.

goodFeaturesToTrackfunction

Determines strong corners on an image.

goodFeaturesToTrack1function

Same as above, but returns also quality measure of the detected corners.

goodFeaturesToTrackWithQualityfunction

Same as above, but returns also quality measure of the detected corners.

LightGlueMatcherclass

LightGlue feature matcher.

LightGlueMatcher_createfunction

Creates LightGlueMatcher from a model file path.

MSERclass

example: samples/python/snippets/mser.py

MSER_createfunction

Full constructor for %MSER detector

ORBclass

Class implementing the ORB (oriented BRIEF) keypoint detector and descriptor extractor

ORB_createfunction

The ORB constructor

ORB_ScoreTypeclass

Native enum entries for orb score type. Pass an entry to enum-typed arguments or its .value to numeric arguments.

SIFTclass

Class for extracting keypoints and computing descriptors using the Scale Invariant Feature Transform

SIFT_createfunction

Note: The contrast threshold will be divided by nOctaveLayers when the filtering is applied. When

SIFT_create1function

Create SIFT with specified descriptorType.

SimpleBlobDetectorclass

HAVE_OPENCV_DNN || CV_DOXYGEN

SimpleBlobDetector_createfunction

Flag to enable contour collection.

SimpleBlobDetector_Paramsclass

simple blob detector params value in the OpenCV API.

Constants

Use the named constant from cv. In particular, OpenCV 5 matrix type codes differ from OpenCV 4.

ORB_HARRIS_SCORE

orb harris score constant (0), defined by OpenCV for cv::ORB.

ORB_FAST_SCORE

orb fast score constant (1), defined by OpenCV for cv::ORB.

FastFeatureDetector_TYPE_5_8

fast feature detector type 5 8 constant (0), defined by OpenCV for cv::FastFeatureDetector.

FAST_FEATURE_DETECTOR_TYPE_5_8

fast feature detector type 5 8 constant (0), defined by OpenCV for cv::FastFeatureDetector.

FastFeatureDetector_TYPE_7_12

fast feature detector type 7 12 constant (1), defined by OpenCV for cv::FastFeatureDetector.

FAST_FEATURE_DETECTOR_TYPE_7_12

fast feature detector type 7 12 constant (1), defined by OpenCV for cv::FastFeatureDetector.

FastFeatureDetector_TYPE_9_16

fast feature detector type 9 16 constant (2), defined by OpenCV for cv::FastFeatureDetector.

FAST_FEATURE_DETECTOR_TYPE_9_16

fast feature detector type 9 16 constant (2), defined by OpenCV for cv::FastFeatureDetector.

FastFeatureDetector_THRESHOLD

fast feature detector threshold constant (10000), defined by OpenCV for cv::FastFeatureDetector.

FAST_FEATURE_DETECTOR_THRESHOLD

fast feature detector threshold constant (10000), defined by OpenCV for cv::FastFeatureDetector.

FastFeatureDetector_NONMAX_SUPPRESSION

fast feature detector nonmax suppression constant (10001), defined by OpenCV for cv::FastFeatureDetector.

FAST_FEATURE_DETECTOR_NONMAX_SUPPRESSION

fast feature detector nonmax suppression constant (10001), defined by OpenCV for cv::FastFeatureDetector.

FastFeatureDetector_FAST_N

fast feature detector fast n constant (10002), defined by OpenCV for cv::FastFeatureDetector.

FAST_FEATURE_DETECTOR_FAST_N

fast feature detector fast n constant (10002), defined by OpenCV for cv::FastFeatureDetector.

DescriptorMatcher_FLANNBASED

descriptor matcher flannbased constant (1), defined by OpenCV for cv::DescriptorMatcher.

DESCRIPTOR_MATCHER_FLANNBASED

descriptor matcher flannbased constant (1), defined by OpenCV for cv::DescriptorMatcher.

DescriptorMatcher_BRUTEFORCE

descriptor matcher bruteforce constant (2), defined by OpenCV for cv::DescriptorMatcher.

DESCRIPTOR_MATCHER_BRUTEFORCE

descriptor matcher bruteforce constant (2), defined by OpenCV for cv::DescriptorMatcher.

DescriptorMatcher_BRUTEFORCE_L1

descriptor matcher bruteforce l1 constant (3), defined by OpenCV for cv::DescriptorMatcher.

DESCRIPTOR_MATCHER_BRUTEFORCE_L1

descriptor matcher bruteforce l1 constant (3), defined by OpenCV for cv::DescriptorMatcher.

DescriptorMatcher_BRUTEFORCE_HAMMING

descriptor matcher bruteforce hamming constant (4), defined by OpenCV for cv::DescriptorMatcher.

DESCRIPTOR_MATCHER_BRUTEFORCE_HAMMING

descriptor matcher bruteforce hamming constant (4), defined by OpenCV for cv::DescriptorMatcher.

DescriptorMatcher_BRUTEFORCE_HAMMINGLUT

descriptor matcher bruteforce hamminglut constant (5), defined by OpenCV for cv::DescriptorMatcher.

DESCRIPTOR_MATCHER_BRUTEFORCE_HAMMINGLUT

descriptor matcher bruteforce hamminglut constant (5), defined by OpenCV for cv::DescriptorMatcher.

DescriptorMatcher_BRUTEFORCE_SL2

descriptor matcher bruteforce sl2 constant (6), defined by OpenCV for cv::DescriptorMatcher.

DESCRIPTOR_MATCHER_BRUTEFORCE_SL2

descriptor matcher bruteforce sl2 constant (6), defined by OpenCV for cv::DescriptorMatcher.

DrawMatchesFlags_DEFAULT

Output image matrix will be created (Mat::create),

DRAW_MATCHES_FLAGS_DEFAULT

Output image matrix will be created (Mat::create),

DrawMatchesFlags_DRAW_OVER_OUTIMG

Output image matrix will not be created (Mat::create).

DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG

Output image matrix will not be created (Mat::create).

DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS

Single keypoints will not be drawn.

DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

Single keypoints will not be drawn.

DrawMatchesFlags_DRAW_RICH_KEYPOINTS

For each keypoint the circle around keypoint with keypoint size and

DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS

For each keypoint the circle around keypoint with keypoint size and

ANNIndex_DIST_EUCLIDEAN

annindex dist euclidean constant (0), defined by OpenCV for cv::ANNIndex.

ANNINDEX_DIST_EUCLIDEAN

annindex dist euclidean constant (0), defined by OpenCV for cv::ANNIndex.

ANNIndex_DIST_MANHATTAN

annindex dist manhattan constant (1), defined by OpenCV for cv::ANNIndex.

ANNINDEX_DIST_MANHATTAN

annindex dist manhattan constant (1), defined by OpenCV for cv::ANNIndex.

ANNIndex_DIST_ANGULAR

annindex dist angular constant (2), defined by OpenCV for cv::ANNIndex.

ANNINDEX_DIST_ANGULAR

annindex dist angular constant (2), defined by OpenCV for cv::ANNIndex.

ANNIndex_DIST_HAMMING

annindex dist hamming constant (3), defined by OpenCV for cv::ANNIndex.

ANNINDEX_DIST_HAMMING

annindex dist hamming constant (3), defined by OpenCV for cv::ANNIndex.

ANNIndex_DIST_DOTPRODUCT

annindex dist dotproduct constant (4), defined by OpenCV for cv::ANNIndex.

ANNINDEX_DIST_DOTPRODUCT

annindex dist dotproduct constant (4), defined by OpenCV for cv::ANNIndex.