mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
updated BackgroundSubtractor.cc, builds fine now.
This commit is contained in:
parent
27638c8457
commit
35e93db394
@ -2,6 +2,8 @@
|
||||
#include "Matrix.h"
|
||||
#include <iostream>
|
||||
|
||||
#if CV_MAJOR_VERSION >= 2 && CV_MINOR_VERSION >=4
|
||||
|
||||
Persistent<FunctionTemplate> BackgroundSubtractorWrap::constructor;
|
||||
|
||||
void
|
||||
@ -132,4 +134,6 @@ BackgroundSubtractorWrap::ApplyMOG(const Arguments &args) {
|
||||
|
||||
BackgroundSubtractorWrap::BackgroundSubtractorWrap(cv::Ptr<cv::BackgroundSubtractor> _subtractor){
|
||||
subtractor = _subtractor;
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
x
Reference in New Issue
Block a user