Commit 8b6d1f6e authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed build (noiseSigma of BackgroundSubtractorMOG is now protected)

parent d46659f6
...@@ -87,7 +87,7 @@ int main(int argc, char** argv) ...@@ -87,7 +87,7 @@ int main(int argc, char** argv)
namedWindow("segmented", 1); namedWindow("segmented", 1);
BackgroundSubtractorMOG bgsubtractor; BackgroundSubtractorMOG bgsubtractor;
bgsubtractor.noiseSigma = 10; bgsubtractor.set("noiseSigma", 10);
for(;;) for(;;)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment