Click or drag to resize
BackgroundSubtractorMOG2 Constructor
http://www.emgu.com
Create an "Improved adaptive Gaussian mixture model for background subtraction".

Namespace: Emgu.CV.VideoSurveillance
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public BackgroundSubtractorMOG2(
	int history = 500,
	float varThreshold = 16f,
	bool shadowDetection = true
)

Parameters

history (Optional)
Type: SystemInt32
The length of the history.
varThreshold (Optional)
Type: SystemSingle
The maximum allowed number of mixture components. Actual number is determined dynamically per pixel.
shadowDetection (Optional)
Type: SystemBoolean
If true, the algorithm will detect shadows and mark them. It decreases the speed a bit, so if you do not need this feature, set the parameter to false.
See Also