c++ - Nonfree module is missing in OpenCV 3.0 -
i have built opencv 3.0 alpha version source support cuda , tbb. now, want feature detection , feature matching using surf algorithm. surffeaturedetector present in include file
opencv2/nonfree/features2d.hpp & opencv2/nonfree/features2d.hpp
but module nonfree missing in version of opencv. tried checking opencv forums @ answers.opencv.org site under construction.
how use non free modules?
with opencv3.0, surf/sift , other things have been moved seperate opencv_contrib repo .
you have download that, add main opencv cmake settings (please @ readme there), , rerun cmake/make.
then:
#include "opencv2/xfeatures2d.hpp" ... ptr<sift> sift = cv::xfeatures2d::sift::create(...); sift->detect(...);
Comments
Post a Comment