| BackgroundSubtractorGMGCreate Method |
Creates a GMG Background Subtractor
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static BackgroundSubtractorGMG Create(
int initializationFrames = 120,
double decisionThreshold = 0.8
)
Public Shared Function Create (
Optional initializationFrames As Integer = 120,
Optional decisionThreshold As Double = 0.8
) As BackgroundSubtractorGMG
public:
static BackgroundSubtractorGMG^ Create(
int initializationFrames = 120,
double decisionThreshold = 0.8
)
static member Create :
?initializationFrames : int *
?decisionThreshold : float
(* Defaults:
let _initializationFrames = defaultArg initializationFrames 120
let _decisionThreshold = defaultArg decisionThreshold 0.8
*)
-> BackgroundSubtractorGMG
Parameters
- initializationFrames (Optional)
- Type: SystemInt32
number of frames used to initialize the background models. - decisionThreshold (Optional)
- Type: SystemDouble
Threshold value, above which it is marked foreground, else background.
Return Value
Type:
BackgroundSubtractorGMG[Missing <returns> documentation for "M:OpenCvSharp.BackgroundSubtractorGMG.Create(System.Int32,System.Double)"]
See Also