diff --git a/Subsense/BackgroundSubtractorLBSP.cpp b/Subsense/BackgroundSubtractorLBSP.cpp index 98bf115..0e9bacc 100644 --- a/Subsense/BackgroundSubtractorLBSP.cpp +++ b/Subsense/BackgroundSubtractorLBSP.cpp @@ -36,7 +36,7 @@ void BackgroundSubtractorLBSP::initialize(const cv::Mat& oInitImg) { this->initialize(oInitImg,cv::Mat()); } -cv::AlgorithmInfo* BackgroundSubtractorLBSP::info() const { +cv::Algorithm* BackgroundSubtractorLBSP::info() const { return nullptr; } diff --git a/Subsense/BackgroundSubtractorLBSP.h b/Subsense/BackgroundSubtractorLBSP.h index 4e4290d..917d774 100644 --- a/Subsense/BackgroundSubtractorLBSP.h +++ b/Subsense/BackgroundSubtractorLBSP.h @@ -26,7 +26,7 @@ class BackgroundSubtractorLBSP : public cv::BackgroundSubtractor { //! primary model update function; the learning param is used to override the internal learning speed (ignored when <= 0) virtual void operator()(cv::InputArray image, cv::OutputArray fgmask, double learningRate=0)=0; //! unused, always returns nullptr - virtual cv::AlgorithmInfo* info() const; + virtual cv::Algorithm* info() const; //! returns a copy of the ROI used for descriptor extraction virtual cv::Mat getROICopy() const; //! sets the ROI to be used for descriptor extraction (note: this function will reinit the model and return the usable ROI)