diff --git a/package_bgs/pl/BackgroundSubtractorLBSP.cpp b/package_bgs/pl/BackgroundSubtractorLBSP.cpp index 642a8a5bee20f3b53177c479fa73482f4fd4bfd7..6752f76fa6cf94194d256c42c02c46ef7a4392b6 100644 --- a/package_bgs/pl/BackgroundSubtractorLBSP.cpp +++ b/package_bgs/pl/BackgroundSubtractorLBSP.cpp @@ -44,9 +44,9 @@ void BackgroundSubtractorLBSP::initialize(const cv::Mat& oInitImg) { this->initialize(oInitImg,cv::Mat()); } -cv::AlgorithmInfo* BackgroundSubtractorLBSP::info() const { +/*cv::AlgorithmInfo* BackgroundSubtractorLBSP::info() const { return nullptr; -} +}*/ cv::Mat BackgroundSubtractorLBSP::getROICopy() const { return m_oROI.clone(); diff --git a/package_bgs/pl/BackgroundSubtractorLBSP.h b/package_bgs/pl/BackgroundSubtractorLBSP.h index 4e4290d16de78478c72b606b0010e36dbe493e97..5602d349f039da4ebdd4f581d1c2ee4e6e19a9a9 100644 --- a/package_bgs/pl/BackgroundSubtractorLBSP.h +++ b/package_bgs/pl/BackgroundSubtractorLBSP.h @@ -26,7 +26,7 @@ public: //! 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::AlgorithmInfo* 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)