mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
added nmixtures parameter to BackgroundSubtractorMOG2 (ticket #1914)
This commit is contained in:
parent
677680d82d
commit
6206908868
@ -57,6 +57,7 @@ CV_INIT_ALGORITHM(BackgroundSubtractorMOG, "BackgroundSubtractor.MOG",
|
||||
|
||||
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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user