Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sift and surf in opencv 3.2

Hi, i build opencv 3.2 with opencv-contrib moduls also add [ #include "opencv2/xfeatures2d.hpp"] and [using namespace cv::xfeatures2d;] to my code but i have error when compile it. i used these commands for surf:

    Ptr<SURF> detector; 
detector->create();
     detector->detect( imgbackground, Keypoints1 );

please guide me. thanks,