Ask Your Question

Revision history [back]

In OpenCV 3, the nonfree modules are in opencv_contrib repository. You will thus need to build OpenCV from scratch if you actually want that functionality and activate the opencv_ximgproc module. Take a look at this installation tutorial on how to do so.

In OpenCV 3, the nonfree modules are in opencv_contrib repository. You will thus need to build OpenCV from scratch if you actually want that functionality and activate the opencv_ximgproc opencv_xfeatures2d module. Take a look at this installation tutorial on how to do so.

Also you should use the tutorials in the OpenCV 3 documentation, because using feature detectors has changed quite a bit, using a more uniform interface. Take a look here: http://docs.opencv.org/master/d7/dff/tutorial_feature_homography.html