BackgroundSubtractorGMGRun Method OpenCvSharp Class Library
Performs single-frame background subtraction and builds up a statistical background image

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

public override void Run(
	InputArray image,
	OutputArray fgmask,
	double learningRate = -1
)

Parameters

image
Type: OpenCvSharp.CPlusPlusInputArray
Input image
fgmask
Type: OpenCvSharp.CPlusPlusOutputArray
Output mask image representing foreground and background pixels
learningRate (Optional)
Type: SystemDouble

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

See Also

Reference