Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Subsense/BackgroundSubtractorLBSP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion Subsense/BackgroundSubtractorLBSP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down