updated BackgroundSubtractor.cc, builds fine now.

This commit is contained in:
Salman 2014-04-21 23:01:55 +05:00
parent 27638c8457
commit 35e93db394

View File

@ -2,6 +2,8 @@
#include "Matrix.h" #include "Matrix.h"
#include <iostream> #include <iostream>
#if CV_MAJOR_VERSION >= 2 && CV_MINOR_VERSION >=4
Persistent<FunctionTemplate> BackgroundSubtractorWrap::constructor; Persistent<FunctionTemplate> BackgroundSubtractorWrap::constructor;
void void
@ -132,4 +134,6 @@ BackgroundSubtractorWrap::ApplyMOG(const Arguments &args) {
BackgroundSubtractorWrap::BackgroundSubtractorWrap(cv::Ptr<cv::BackgroundSubtractor> _subtractor){ BackgroundSubtractorWrap::BackgroundSubtractorWrap(cv::Ptr<cv::BackgroundSubtractor> _subtractor){
subtractor = _subtractor; subtractor = _subtractor;
}; };
#endif