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

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public virtual void Run(
	InputArray image,
	OutputArray fgmask,
	double learningRate = 0
)

Parameters

image
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="image"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractor.Run(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Double)"]

fgmask
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="fgmask"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractor.Run(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Double)"]

learningRate (Optional)
Type: SystemDouble

[Missing <param name="learningRate"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractor.Run(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Double)"]

See Also

Reference