Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use sift and surf in latest release (4.1.1) on Ubuntu 18.04?

Context

While importing cv2 which I instealled using pip, I encountered this message, hence I'm no more able to run an old demonstration code that compared different keypoints detectors and descriptirs which i build a few (2~) years ago:

error: OpenCV(4.1.1) /io/opencv_contrib/modules/xfeatures2d/src/sift.cpp:1207: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function

Question

Is there a way to use these algorithms again without compiling opencv?