When setting OPENCV_ENABLE_NONFREE to false, the SURF and SIFT bits of the xfeatures2d module are still built. It is my understanding that these bits are patented and require licensing if they are to be used, so they should only be built if OPENCV_ENABLE_NONFREE is set to true.
what would be better:
create() function, similar to herestrike that. the 1st option is not feasible, because all those #ifdefs would seep out into the main opencv branch, too (think of the tutorials/samples using this)
I agree! I might be able to work on a pull request for this soon-ish.
Isn't #442 a free (or at least authorized) implementation? Wouldn't that be even better?
@drzraf , it's the algorithm, which is patented, not the implementation. (so, same problem there, imho)