http://www.emgu.com
Create an "Improved adaptive Gausian mixture model for background subtraction".

Namespace: Emgu.CV.VideoSurveillance
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public BackgroundSubtractorMOG2(
	int history,
	float varThreshold,
	bool shadowDetection
)
Visual Basic
Public Sub New ( 
	history As Integer,
	varThreshold As Single,
	shadowDetection As Boolean
)
Visual C++
public:
BackgroundSubtractorMOG2(
	int history, 
	float varThreshold, 
	bool shadowDetection
)
F#
new : 
        history : int * 
        varThreshold : float32 * 
        shadowDetection : bool -> BackgroundSubtractorMOG2

Parameters

history
Type: System..::..Int32
The length of the history. Use 0 for default
varThreshold
Type: System..::..Single
The maximum allowed number of mixture comonents. Actual number is determined dynamically per pixel.
shadowDetection
Type: System..::..Boolean
If true, perform shadow detection.

See Also