1

ORB 特征检测器是否已移植到 OpenCV 2.4.0 的 python 绑定?如果是这样,我该如何使用它?

提前致谢。

4

1 回答 1

2

There is a sample script called "feature_homography.py" that uses ORB features. You can checkout the samples directory.

svn co http://code.opencv.org/svn/opencv/tags/2.4.1/opencv/samples

From the sample:

detector = cv2.FastFeatureDetector(16, True)
detector = cv2.GridAdaptedFeatureDetector(detector)
extractor = cv2.DescriptorExtractor_create('ORB')
于 2012-06-14T05:59:34.797 回答