mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
move backgroundsubtrator::init out if HAVE_OPENCV_VIDEO and into new HAVE_BACKGROUNDSUBTRACTOR
This commit is contained in:
parent
1085b662e0
commit
cdb8d7ff9b
@ -50,16 +50,17 @@ extern "C" void init(Local<Object> target) {
|
||||
StereoBM::Init(target);
|
||||
StereoSGBM::Init(target);
|
||||
StereoGC::Init(target);
|
||||
|
||||
#if CV_MAJOR_VERSION == 2 && CV_MINOR_VERSION >=4
|
||||
#ifdef HAVE_OPENCV_VIDEO
|
||||
BackgroundSubtractorWrap::Init(target);
|
||||
#endif
|
||||
#ifdef HAVE_OPENCV_FEATURES2D
|
||||
Features::Init(target);
|
||||
#endif
|
||||
LDAWrap::Init(target);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HAVE_BACKGROUNDSUBTRACTOR
|
||||
BackgroundSubtractorWrap::Init(target);
|
||||
#endif
|
||||
#ifdef HAVE_OPENCV_FACE
|
||||
FaceRecognizerWrap::Init(target);
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user