diff --git a/modules/objdetect/CMakeLists.txt b/modules/objdetect/CMakeLists.txt index 9da55b4090..ec9419aafe 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 e21573ac24..e3eb07db4b 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 4d86ebf5fe..8dad2a17a4 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