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

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

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>)>)>

[Missing <param name="image"/> documentation for "M:Emgu.CV.VideoSurveillance.BGStatModel`1.Update(Emgu.CV.Image{`0,System.Byte},System.Double)"]

learningRate
Type: System..::..Double
Use -1 for default

Return Value

The number of found foreground regions

See Also