Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit b0c478e

Browse files
author
Simon Hofmann
committed
Removed unused modules
1 parent 734d548 commit b0c478e

File tree

305 files changed

+401
-21867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+401
-21867
lines changed

binding.gyp

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -27,91 +27,13 @@
2727
"cc/core/core.cc",
2828
"cc/core/Mat.cc",
2929
"cc/core/MatImgproc.cc",
30-
"cc/core/MatXimgproc.cc",
31-
"cc/core/MatCalib3d.cc",
3230
"cc/core/Point.cc",
3331
"cc/core/Vec.cc",
3432
"cc/core/Size.cc",
3533
"cc/core/Rect.cc",
3634
"cc/core/RotatedRect.cc",
3735
"cc/core/TermCriteria.cc",
3836
"cc/modules/io/io.cc",
39-
"cc/modules/io/VideoCapture.cc",
40-
"cc/modules/io/VideoWriter.cc",
41-
"cc/modules/photo/photo.cc",
42-
"cc/modules/video/video.cc",
43-
"cc/modules/video/BackgroundSubtractor.cc",
44-
"cc/modules/video/BackgroundSubtractorMOG2.cc",
45-
"cc/modules/video/BackgroundSubtractorKNN.cc",
46-
"cc/modules/calib3d/calib3d.cc",
47-
"cc/modules/imgproc/imgproc.cc",
48-
"cc/modules/imgproc/Contour.cc",
49-
"cc/modules/imgproc/Moments.cc",
50-
"cc/modules/ximgproc/ximgproc.cc",
51-
"cc/modules/ximgproc/SuperpixelSEEDS.cc",
52-
"cc/modules/ximgproc/SuperpixelSLIC.cc",
53-
"cc/modules/ximgproc/SuperpixelLSC.cc",
54-
"cc/modules/objdetect/objdetect.cc",
55-
"cc/modules/objdetect/CascadeClassifier.cc",
56-
"cc/modules/objdetect/HOGDescriptor.cc",
57-
"cc/modules/objdetect/DetectionROI.cc",
58-
"cc/modules/machinelearning/machinelearning.cc",
59-
"cc/modules/machinelearning/ParamGrid.cc",
60-
"cc/modules/machinelearning/StatModel.cc",
61-
"cc/modules/machinelearning/SVM.cc",
62-
"cc/modules/machinelearning/TrainData.cc",
63-
"cc/modules/dnn/dnn.cc",
64-
"cc/modules/dnn/Net.cc",
65-
"cc/modules/face/face.cc",
66-
"cc/modules/face/FaceRecognizer.cc",
67-
"cc/modules/face/EigenFaceRecognizer.cc",
68-
"cc/modules/face/FisherFaceRecognizer.cc",
69-
"cc/modules/face/LBPHFaceRecognizer.cc",
70-
"cc/modules/face/Facemark.cc",
71-
"cc/modules/face/FacemarkAAM.cc",
72-
"cc/modules/face/FacemarkAAMData.cc",
73-
"cc/modules/face/FacemarkAAMParams.cc",
74-
"cc/modules/face/FacemarkLBF.cc",
75-
"cc/modules/face/FacemarkLBFParams.cc",
76-
"cc/modules/text/text.cc",
77-
"cc/modules/text/OCRHMMClassifier.cc",
78-
"cc/modules/text/OCRHMMDecoder.cc",
79-
"cc/modules/tracking/tracking.cc",
80-
"cc/modules/tracking/Tracker.cc",
81-
"cc/modules/tracking/MultiTracker.cc",
82-
"cc/modules/tracking/Trackers/TrackerBoosting.cc",
83-
"cc/modules/tracking/Trackers/TrackerBoostingParams.cc",
84-
"cc/modules/tracking/Trackers/TrackerKCF.cc",
85-
"cc/modules/tracking/Trackers/TrackerKCFParams.cc",
86-
"cc/modules/tracking/Trackers/TrackerMIL.cc",
87-
"cc/modules/tracking/Trackers/TrackerMILParams.cc",
88-
"cc/modules/tracking/Trackers/TrackerMedianFlow.cc",
89-
"cc/modules/tracking/Trackers/TrackerTLD.cc",
90-
"cc/modules/tracking/Trackers/TrackerGOTURN.cc",
91-
"cc/modules/tracking/Trackers/TrackerCSRT.cc",
92-
"cc/modules/tracking/Trackers/TrackerCSRTParams.cc",
93-
"cc/modules/tracking/Trackers/TrackerMOSSE.cc",
94-
"cc/modules/features2d/features2d.cc",
95-
"cc/modules/features2d/KeyPoint.cc",
96-
"cc/modules/features2d/KeyPointMatch.cc",
97-
"cc/modules/features2d/DescriptorMatch.cc",
98-
"cc/modules/features2d/BFMatcher.cc",
99-
"cc/modules/features2d/FeatureDetector.cc",
100-
"cc/modules/features2d/descriptorMatching.cc",
101-
"cc/modules/features2d/descriptorMatchingKnn.cc",
102-
"cc/modules/features2d/detectors/AGASTDetector.cc",
103-
"cc/modules/features2d/detectors/AKAZEDetector.cc",
104-
"cc/modules/features2d/detectors/BRISKDetector.cc",
105-
"cc/modules/features2d/detectors/FASTDetector.cc",
106-
"cc/modules/features2d/detectors/GFTTDetector.cc",
107-
"cc/modules/features2d/detectors/KAZEDetector.cc",
108-
"cc/modules/features2d/detectors/MSERDetector.cc",
109-
"cc/modules/features2d/detectors/ORBDetector.cc",
110-
"cc/modules/features2d/detectors/SimpleBlobDetector.cc",
111-
"cc/modules/features2d/detectors/SimpleBlobDetectorParams.cc",
112-
"cc/modules/xfeatures2d/xfeatures2d.cc",
113-
"cc/modules/xfeatures2d/SIFTDetector.cc",
114-
"cc/modules/xfeatures2d/SURFDetector.cc"
11537
],
11638

11739
"cflags" : [

cc/core/Mat.cc

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
#include "Mat.h"
22
#include "MatImgproc.h"
3-
#include "MatCalib3d.h"
43
#include "MatBindings.h"
54

6-
#ifdef HAVE_XIMGPROC
7-
#include "MatXimgproc.h"
8-
#endif // HAVE_XIMGPROC
9-
105
Nan::Persistent<v8::FunctionTemplate> Mat::constructor;
116

127
NAN_MODULE_INIT(Mat::Init) {
@@ -103,7 +98,7 @@ NAN_MODULE_INIT(Mat::Init) {
10398
Nan::SetPrototypeMethod(ctor, "eigenAsync", EigenAsync);
10499
Nan::SetPrototypeMethod(ctor, "solve", Solve);
105100
Nan::SetPrototypeMethod(ctor, "solveAsync", SolveAsync);
106-
101+
107102
#if CV_VERSION_MINOR > 1
108103
Nan::SetPrototypeMethod(ctor, "rotate", Rotate);
109104
Nan::SetPrototypeMethod(ctor, "rotateAsync", RotateAsync);
@@ -115,10 +110,6 @@ NAN_MODULE_INIT(Mat::Init) {
115110
FF_PROTO_SET_MAT_OPERATIONS(ctor);
116111

117112
MatImgproc::Init(ctor);
118-
MatCalib3d::Init(ctor);
119-
#ifdef HAVE_XIMGPROC
120-
MatXimgproc::Init(ctor);
121-
#endif // HAVE_XIMGPROC
122113

123114
target->Set(Nan::New("Mat").ToLocalChecked(), ctor->GetFunction());
124115
};

0 commit comments

Comments
 (0)