Made dependency of features2d and calib3d from highgui optional

This commit is contained in:
Andrey Kamaev
2012-03-13 12:33:16 +00:00
parent d68311b9eb
commit e4307d05f3
8 changed files with 46 additions and 9 deletions

View File

@@ -46,7 +46,12 @@
//#define DEBUG_BLOB_DETECTOR
#ifdef DEBUG_BLOB_DETECTOR
#include "opencv2/highgui/highgui.hpp"
# include "opencv2/opencv_modules.hpp"
# ifdef HAVE_OPENCV_HIGHGUI
# include "opencv2/highgui/highgui.hpp"
# else
# undef DEBUG_BLOB_DETECTOR
# endif
#endif
using namespace cv;