提交 98f6a4a6 编写于 作者: R Roman Donchenko 提交者: OpenCV Buildbot

Merge pull request #972 from jet47:mog2-params-bug-2168

......@@ -60,7 +60,15 @@ CV_INIT_ALGORITHM(BackgroundSubtractorMOG2, "BackgroundSubtractor.MOG2",
obj.info()->addParam(obj, "history", obj.history);
obj.info()->addParam(obj, "nmixtures", obj.nmixtures);
obj.info()->addParam(obj, "varThreshold", obj.varThreshold);
obj.info()->addParam(obj, "detectShadows", obj.bShadowDetection));
obj.info()->addParam(obj, "detectShadows", obj.bShadowDetection);
obj.info()->addParam(obj, "backgroundRatio", obj.backgroundRatio);
obj.info()->addParam(obj, "varThresholdGen", obj.varThresholdGen);
obj.info()->addParam(obj, "fVarInit", obj.fVarInit);
obj.info()->addParam(obj, "fVarMin", obj.fVarMin);
obj.info()->addParam(obj, "fVarMax", obj.fVarMax);
obj.info()->addParam(obj, "fCT", obj.fCT);
obj.info()->addParam(obj, "nShadowDetection", obj.nShadowDetection);
obj.info()->addParam(obj, "fTau", obj.fTau));
///////////////////////////////////////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册