FlannBasedMatcher (OpenCV 4.13.0 Java documentation)
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
Package org.opencv.features2d
Class FlannBasedMatcher
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.DescriptorMatcher
-
- org.opencv.features2d.FlannBasedMatcher
-
public class FlannBasedMatcher extends DescriptorMatcherFlann-based descriptor matcher. This matcher trains cv::flann::Index on a train descriptor collection and calls its nearest search methods to find the best matches. So, this matcher may be faster when matching a large train collection than the brute force matcher. FlannBasedMatcher does not support masking permissible matches of descriptor sets because flann::Index does not support this. :