KeypointMatcher.match_descriptors¶
- KeypointMatcher.match_descriptors(descriptors1, descriptors2)[source]¶
Match keypoint descriptors using FLANN and Lowe’s ratio test.
- Parameters:
descriptors1 (ndarray[tuple[Any, ...], dtype[_ScalarT]]) – Descriptors from first image
descriptors2 (ndarray[tuple[Any, ...], dtype[_ScalarT]]) – Descriptors from second image
- Returns:
Tuple of (good_matches, all_matches)
- Return type:
tuple[Sequence[DMatch], Sequence[Sequence[DMatch]]]
This can be overridden if desired