Contrib module is added to java wrappers; fixed algorithm initialisation for python bindings

This commit is contained in:
Andrey Kamaev
2012-07-05 07:58:40 +00:00
parent b1eba01afb
commit 620d122fc2
5 changed files with 52 additions and 6 deletions

View File

@@ -22,11 +22,10 @@
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_NONFREE
#include "opencv2/nonfree/nonfree.hpp"
static bool makeUseOfNonfree = cv::initModule_nonfree();
#endif
#ifdef HAVE_OPENCV_NONFREE
# include "opencv2/nonfree/nonfree.hpp"
#endif
using cv::flann::IndexParams;
using cv::flann::SearchParams;