adapted all nonfree header inclusion since it doesn't exist anymore as a module
This commit is contained in:
@@ -53,8 +53,8 @@
|
||||
#ifdef HAVE_OPENCV_FEATURES2D
|
||||
#include "opencv2/features2d.hpp"
|
||||
#endif
|
||||
#ifdef HAVE_OPENCV_NONFREE
|
||||
#include "opencv2/nonfree.hpp"
|
||||
#ifdef HAVE_OPENCV_XFEATURES2D
|
||||
#include "opencv2/xfeatures2d/nonfree.hpp"
|
||||
#endif
|
||||
|
||||
#include "opencv2/world.hpp"
|
||||
|
||||
@@ -51,8 +51,8 @@ bool cv::initAll()
|
||||
#ifdef HAVE_OPENCV_FEATURES2D
|
||||
&& initModule_features2d()
|
||||
#endif
|
||||
#ifdef HAVE_OPENCV_NONFREE
|
||||
&& initModule_nonfree()
|
||||
#ifdef HAVE_OPENCV_XFEATURES2D
|
||||
&& initModule_xfeatures2d()
|
||||
#endif
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user