OpenCV 3.0 nonfree.hpp [closed]

asked Aug 13 '15

vjancik gravatar image

Hi,

In the transition guide to OpenCV 3 it says nonfree modules were removed, but I still found /usr/include/opencv2/xfeatures2d/nonfree.hpp in opencv-contrib. So I wanted to ask if this code really is nonfree, and if so, if there is a build parameter that can disable it's inclusion.

http://docs.opencv.org/master/db/dfa/... https://github.com/Itseez/opencv_cont...

Note: I am already building with -DBUILD_opencv_nonfree=0

Thank you very much, Viktor

Preview: (hide)

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-11-29 07:33:34.354838

Comments

You are misunderstanding it. The nonfree module is gone, BUT the xfeatures2D still has some functionality with licenses, so that means that you will not be able to widly use the nonfree header.

StevenPuttemans gravatar imageStevenPuttemans (Aug 13 '15)edit

Is there a way to exclude it without breaking the build? Or would you say -DBUILD_opencv_nonfree=0 is sufficient.

vjancik gravatar imagevjancik (Aug 13 '15)edit

I did not know of the paremeter, but if it exists, then yes, this should be sufficient.

StevenPuttemans gravatar imageStevenPuttemans (Aug 14 '15)edit