mirror of
https://github.com/opencv/opencv.git
synced 2026-07-27 22:33:03 +04:00
removed contrib, legacy and softcsscade modules; removed latentsvm and datamatrix detector from objdetect. removed haartraining and sft apps.
some of the stuff will be moved to opencv_contrib module. in order to make this PR pass buildbot, please, comment off opencv_legacy, opencv_contrib and opencv_softcascade test runs.
This commit is contained in:
@@ -11,7 +11,7 @@ if(ANDROID OR IOS OR NOT PYTHONLIBS_FOUND OR NOT PYTHON_NUMPY_INCLUDE_DIRS)
|
||||
endif()
|
||||
|
||||
set(the_description "The python bindings")
|
||||
ocv_add_module(python BINDINGS opencv_core opencv_flann opencv_imgproc opencv_video opencv_ml opencv_features2d opencv_highgui opencv_calib3d opencv_photo opencv_objdetect opencv_contrib opencv_legacy opencv_softcascade OPTIONAL opencv_nonfree)
|
||||
ocv_add_module(python BINDINGS opencv_core opencv_flann opencv_imgproc opencv_video opencv_ml opencv_features2d opencv_highgui opencv_calib3d opencv_photo opencv_objdetect OPTIONAL opencv_nonfree)
|
||||
|
||||
ocv_module_include_directories(
|
||||
"${PYTHON_INCLUDE_PATH}"
|
||||
@@ -36,8 +36,7 @@ set(opencv_hdrs
|
||||
"${OPENCV_MODULE_opencv_features2d_LOCATION}/include/opencv2/features2d.hpp"
|
||||
"${OPENCV_MODULE_opencv_calib3d_LOCATION}/include/opencv2/calib3d.hpp"
|
||||
"${OPENCV_MODULE_opencv_objdetect_LOCATION}/include/opencv2/objdetect.hpp"
|
||||
"${OPENCV_MODULE_opencv_softcascade_LOCATION}/include/opencv2/softcascade.hpp"
|
||||
"${OPENCV_MODULE_opencv_contrib_LOCATION}/include/opencv2/contrib.hpp")
|
||||
)
|
||||
|
||||
if(HAVE_opencv_nonfree)
|
||||
list(APPEND opencv_hdrs "${OPENCV_MODULE_opencv_nonfree_LOCATION}/include/opencv2/nonfree/features2d.hpp"
|
||||
|
||||
@@ -84,7 +84,6 @@ catch (const cv::Exception &e) \
|
||||
using namespace cv;
|
||||
using cv::flann::IndexParams;
|
||||
using cv::flann::SearchParams;
|
||||
using cv::softcascade::ChannelFeatureBuilder;
|
||||
|
||||
typedef std::vector<uchar> vector_uchar;
|
||||
typedef std::vector<char> vector_char;
|
||||
@@ -111,8 +110,6 @@ typedef std::vector<std::vector<Point2f> > vector_vector_Point2f;
|
||||
typedef std::vector<std::vector<Point3f> > vector_vector_Point3f;
|
||||
typedef std::vector<std::vector<DMatch> > vector_vector_DMatch;
|
||||
|
||||
typedef cv::softcascade::ChannelFeatureBuilder softcascade_ChannelFeatureBuilder;
|
||||
|
||||
typedef SimpleBlobDetector::Params SimpleBlobDetector_Params;
|
||||
|
||||
typedef cvflann::flann_distance_t cvflann_flann_distance_t;
|
||||
|
||||
@@ -15,7 +15,6 @@ opencv_hdr_list = [
|
||||
"../../video/include/opencv2/video/tracking.hpp",
|
||||
"../../video/include/opencv2/video/background_segm.hpp",
|
||||
"../../objdetect/include/opencv2/objdetect.hpp",
|
||||
"../../contrib/include/opencv2/contrib.hpp",
|
||||
"../../highgui/include/opencv2/highgui.hpp"
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user