Click or drag to resize

BackgroundSubtractorApply Method

the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public virtual void Apply(
	InputArray image,
	OutputArray fgmask,
	double learningRate = -1
)

Parameters

image
Type: OpenCvSharpInputArray
fgmask
Type: OpenCvSharpOutputArray
learningRate (Optional)
Type: SystemDouble
See Also