OpenCV 3.0 nonfree.hpp [closed]

asked 2015-08-13 07:16:46 -0500

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

edit retag flag offensive reopen merge delete

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 ( 2015-08-13 07:25:01 -0500 )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 ( 2015-08-13 08:12:23 -0500 )edit

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

StevenPuttemans gravatar imageStevenPuttemans ( 2015-08-14 03:36:47 -0500 )edit