Table of Contents

Method Create

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Create(int, double)

Creates a GMG Background Subtractor

public static BackgroundSubtractorGMG Create(int initializationFrames = 120, double decisionThreshold = 0.8)

Parameters

initializationFrames int

number of frames used to initialize the background models.

decisionThreshold double

Threshold value, above which it is marked foreground, else background.

Returns

BackgroundSubtractorGMG