Setting BackgroundSubtractorMOG2() parameters (Bug #1914)
Description
The documentation says that "Here are important members of the class that control the algorithm, which you can set after constructing the class instance." However when I try to set the parameters I get OpenCV Error. I hope I am doing this right.
MoGDetector=cv::BackgroundSubtractorMOG2(200,10,true);
MoGDetector.set("nmixtures",5);
OpenCV Error: Bad argument (No parameter 'nmixtures' is found) in unknown functi
on, file C:\slave\WinInstallerMegaPack\src\opencv\modules\core\src\algorithm.cpp
, line 448
Associated revisions
added nmixtures parameter to BackgroundSubtractorMOG2 (ticket #1914)
Merge pull request #1914 from SpecLad:merge-2.4
History
Updated by Kirill Kornyakov almost 13 years ago
- Category set to imgproc, video
Updated by Andrey Kamaev almost 13 years ago
- Target version set to 2.4.1
Updated by Vadim Pisarevsky almost 13 years ago
fixed in trunk, r8543
- Status changed from Open to Done
- Assignee set to Vadim Pisarevsky