fixed problem with SURF loading in Python tests

This commit is contained in:
Alexander Shishkov
2012-04-09 11:45:36 +00:00
parent a68d0278ba
commit b79dfaf078
3 changed files with 9 additions and 2 deletions

View File

@@ -18,9 +18,15 @@
#include "opencv2/video/tracking.hpp"
#include "opencv2/video/background_segm.hpp"
#include "opencv2/photo/photo.hpp"
#include "opencv2/nonfree/nonfree.hpp"
#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
using cv::flann::IndexParams;
using cv::flann::SearchParams;