File tree Expand file tree Collapse file tree 9 files changed +7
-17
lines changed Expand file tree Collapse file tree 9 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 1
1
set (the_description "2D Features Framework" )
2
- ocv_define_module (features2d opencv_imgproc opencv_ml opencv_flann OPTIONAL opencv_highgui WRAP java python )
2
+ ocv_define_module (features2d opencv_imgproc opencv_flann OPTIONAL opencv_highgui WRAP java python )
Original file line number Diff line number Diff line change 13
13
#include " opencv2/imgproc.hpp"
14
14
#include " opencv2/features2d.hpp"
15
15
#include " opencv2/imgcodecs.hpp"
16
- #include " opencv2/ml.hpp"
17
16
#include < iostream>
18
17
19
18
#endif
Original file line number Diff line number Diff line change 1
1
set (the_description "High-level GUI and Media I/O" )
2
- ocv_add_module (highgui opencv_imgproc OPTIONAL opencv_imgcodecs opencv_videoio WRAP python )
2
+ ocv_add_module (highgui opencv_imgproc opencv_imgcodecs OPTIONAL opencv_videoio WRAP python )
3
3
4
4
# ----------------------------------------------------------------------------
5
5
# CMake file for highgui. See root CMakeLists.txt
Original file line number Diff line number Diff line change 50
50
#include " opencv2/imgproc/imgproc_c.h"
51
51
#include " opencv2/highgui/highgui_c.h"
52
52
53
- #ifdef HAVE_OPENCV_IMGCODECS
54
53
#include " opencv2/imgcodecs.hpp"
55
54
#include " opencv2/imgcodecs/imgcodecs_c.h"
56
- #endif
57
55
58
56
#include < stdlib.h>
59
57
#include < stdio.h>
Original file line number Diff line number Diff line change 1
- if (NOT ANT_EXECUTABLE )
1
+ if (NOT ANT_EXECUTABLE
2
+ OR NOT BUILD_opencv_imgcodecs
3
+ OR NOT BUILD_opencv_calib3d )
2
4
return ()
3
5
endif ()
4
6
Original file line number Diff line number Diff line change 1
1
set (the_description "Object Detection" )
2
- ocv_define_module (objdetect opencv_core opencv_imgproc opencv_ml OPTIONAL opencv_highgui WRAP java python )
2
+ ocv_define_module (objdetect opencv_core opencv_imgproc WRAP java python )
Original file line number Diff line number Diff line change 46
46
#include " opencv2/objdetect.hpp"
47
47
#include " opencv2/imgproc.hpp"
48
48
49
- #include " opencv2/ml.hpp"
50
-
51
49
#include " opencv2/core/utility.hpp"
52
50
#include " opencv2/core/ocl.hpp"
53
-
54
- #include " opencv2/opencv_modules.hpp"
55
- #ifdef HAVE_OPENCV_HIGHGUI
56
- # include " opencv2/highgui.hpp"
57
- #endif
58
-
59
51
#include " opencv2/core/private.hpp"
60
52
61
53
#ifdef HAVE_TEGRA_OPTIMIZATION
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d")
8
8
if (BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODULES )
9
9
set (STITCHING_CONTRIB_DEPS "" )
10
10
endif ()
11
- ocv_define_module (stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_objdetect
11
+ ocv_define_module (stitching opencv_imgproc opencv_features2d opencv_calib3d
12
12
OPTIONAL opencv_cudaarithm opencv_cudafilters opencv_cudafeatures2d opencv_cudalegacy ${STITCHING_CONTRIB_DEPS}
13
13
WRAP python )
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ if(IOS OR WINRT)
3
3
endif ()
4
4
5
5
set (the_description "Super Resolution" )
6
- ocv_warnings_disable (CMAKE_CXX_FLAGS /wd4127 -Wundef -Wshadow )
7
6
ocv_define_module (superres opencv_imgproc opencv_video
8
7
OPTIONAL opencv_videoio opencv_cudaarithm opencv_cudafilters opencv_cudawarping opencv_cudaimgproc opencv_cudaoptflow opencv_cudacodec
9
8
WRAP python )
You can’t perform that action at this time.
0 commit comments