Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I was wondering if it is possible to compile opencv with the xfeatures2d features while excluding SIFT and SURF features.

this is already the default behaviour.

SIFT and SURF (as well as some patented denoising algos) will only be enabled / compiled into your lib/exe if

OPENCV_ENABLE_NONFREE=ON

was set in cmake, when buildng the opencv libs.

I was wondering if it is possible to compile opencv with the xfeatures2d features while excluding SIFT and SURF features.

this is already the default behaviour.behaviour (as of 3.4.x or so)

SIFT and SURF (as well as some patented denoising algos) will only be enabled / compiled into your lib/exe if

OPENCV_ENABLE_NONFREE=ON

was set in cmake, when buildng the opencv libs.