http://www.emgu.com
Update the statistic model

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

Syntax

C#
public virtual int Update(
	Image<TColor, byte> image,
	double learningRate
)
Visual Basic
Public Overridable Function Update ( _
	image As Image(Of TColor, Byte), _
	learningRate As Double _
) As Integer
Visual C++
public:
virtual int Update(
	Image<TColor, unsigned char>^ image, 
	double learningRate
)

Parameters

image
Type: Emgu.CV..::..Image<(Of <(<'TColor, Byte>)>)>
The image that is used to update the background model
learningRate
Type: System..::..Double
Use -1 for default

Return Value

The number of found foreground regions

See Also