http://www.emgu.com
Updates the background model

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

Syntax

C#
public void Update(
	GpuImage<TColor, byte> frame,
	float learningRate,
	Stream stream
)
Visual Basic
Public Sub Update ( 
	frame As GpuImage(Of TColor, Byte),
	learningRate As Single,
	stream As Stream
)
Visual C++
public:
void Update(
	GpuImage<TColor, unsigned char>^ frame, 
	float learningRate, 
	Stream^ stream
)
F#
member Update : 
        frame : GpuImage<'TColor, byte> * 
        learningRate : float32 * 
        stream : Stream -> unit 

Parameters

frame
Type: Emgu.CV.GPU..::..GpuImage<(Of <(<'TColor, Byte>)>)>
Next video frame.
learningRate
Type: System..::..Single
The learning rate, use -1.0f for default value.
stream
Type: Emgu.CV.GPU..::..Stream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

See Also