From e479a9f6191323122420dc2596368e9d07186abb Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Wed, 4 Apr 2012 08:34:30 +0000 Subject: [PATCH] Removed unneded dependency between objdetect and calib3d --- modules/objdetect/CMakeLists.txt | 2 +- modules/objdetect/include/opencv2/objdetect/objdetect.hpp | 1 - modules/objdetect/src/precomp.hpp | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/objdetect/CMakeLists.txt b/modules/objdetect/CMakeLists.txt index 9da55b4..ec9419a 100644 --- a/modules/objdetect/CMakeLists.txt +++ b/modules/objdetect/CMakeLists.txt @@ -1,2 +1,2 @@ set(the_description "Object Detection") -ocv_define_module(objdetect opencv_calib3d OPTIONAL opencv_highgui) +ocv_define_module(objdetect OPTIONAL opencv_highgui) diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index e21573a..e3eb07d 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -44,7 +44,6 @@ #define __OPENCV_OBJDETECT_HPP__ #include "opencv2/core/core.hpp" -#include "opencv2/features2d/features2d.hpp" #ifdef __cplusplus #include diff --git a/modules/objdetect/src/precomp.hpp b/modules/objdetect/src/precomp.hpp index 4d86ebf..8dad2a1 100644 --- a/modules/objdetect/src/precomp.hpp +++ b/modules/objdetect/src/precomp.hpp @@ -56,8 +56,6 @@ #include "opencv2/imgproc/imgproc_c.h" #include "opencv2/core/core_c.h" #include "opencv2/core/internal.hpp" -#include "opencv2/features2d/features2d.hpp" -#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/opencv_modules.hpp" #ifdef HAVE_OPENCV_HIGHGUI -- 2.7.4