Ask Your Question

Revision history [back]

How to detect keypoints, compute descriptors and match those descriptors in OpenCV 3.0.0, Visual Studio 2013, in C++?

I have seen the documentation of OpenCV. In there, SurfFeatureDetector, SurfDescriptorExtractor and BruteForceMatcher are being used. But when I try in my code, it is showing - Error : identifier "SurfFeatureDetector" is unidentified. Same case for other two.

After going through some threads and forums, I tried to include some header files like - #include <opencv2 nonfree="" features2d.hpp=""> and some others but those files don't exist. So shows another error saying - Error : Cannot open source file "opencv2/nonfree/features2d.hpp".

Is there any alternative way to do these in OpenCV 3.0.0?

Please let me know where I have gone wrong. :/