1 | initial version |
Starting from OpenCV 3.0 features2d
module has been reorganized (some feature detectors has been moved to opencv_contrib/xfeatures2d module) and nonfree
module has been removed. So to use SURF you should include opencv2/xfeatures2d.hpp
instead of opencv2/nonfree/nonfree.hpp
. Please refer to example https://github.com/Itseez/opencv_contrib/blob/master/modules/xfeatures2d/samples/surf_matcher.cpp
2 | No.2 Revision |
Starting from OpenCV 3.0 features2d
module has been reorganized (some feature detectors has been moved to opencv_contrib/xfeatures2d module) and nonfree
module has been removed. So to use SURF you should include opencv2/xfeatures2d.hpp
instead of opencv2/nonfree/nonfree.hpp
. Please refer to example https://github.com/Itseez/opencv_contrib/blob/master/modules/xfeatures2d/samples/surf_matcher.cpphttp://docs.opencv.org/ref/master/tutorial_feature_homography.html#gsc.tab=0