Click or drag to resize

CudaBackgroundSubtractorMOG2Update Method

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

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntax
public void Update(
	IInputArray frame,
	IOutputArray fgmask,
	double learningRate,
	Stream stream = null
)

Parameters

frame
Type: Emgu.CVIInputArray
Next video frame.
fgmask
Type: Emgu.CVIOutputArray
The output forground mask
learningRate
Type: SystemDouble
The learning rate, use -1.0f for default value.
stream (Optional)
Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also