BackgroundSubtractorMOG pBSMOG = BackgroundSubtractorMOG(int history=200, int nmixtures=5, double backgroundRatio=0.7, double noiseSigma=0);
Where
- history is the length of the story.
- nmixtures - the number of Gaussian mixtures.
- backgroundRatio - .
- noiseSigma - ( ). 0 .
history .
OpenCV :
Ptr <BackgroundSubtractorMOG2> createBackgroundSubtractorMOG2(int
history=500, double varThreshold=16, bool detectShadows=true )
, , .