http://www.emgu.com
Updates statistical model and returns number of found foreground regions

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

Syntax

C#
public static int cvUpdateBGStatModel(
	IntPtr currentFrame,
	IntPtr bgModel,
	double learningRate
)
Visual Basic
Public Shared Function cvUpdateBGStatModel ( 
	currentFrame As IntPtr,
	bgModel As IntPtr,
	learningRate As Double
) As Integer
Visual C++
public:
static int cvUpdateBGStatModel(
	IntPtr currentFrame, 
	IntPtr bgModel, 
	double learningRate
)
F#
static member cvUpdateBGStatModel : 
        currentFrame : IntPtr * 
        bgModel : IntPtr * 
        learningRate : float -> int 

Parameters

currentFrame
Type: System..::..IntPtr
The current frame
bgModel
Type: System..::..IntPtr
The bg model
learningRate
Type: System..::..Double
The leaning rate, use -1 for default value

Return Value

Type: Int32
The number of found foreground regions

See Also