BackgroundSubtractorMOG2Create Method
|
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static BackgroundSubtractorMOG2 Create(
int history = 500,
double varThreshold = 16,
bool detectShadows = true
)
Public Shared Function Create (
Optional history As Integer = 500,
Optional varThreshold As Double = 16,
Optional detectShadows As Boolean = true
) As BackgroundSubtractorMOG2
public:
static BackgroundSubtractorMOG2^ Create(
int history = 500,
double varThreshold = 16,
bool detectShadows = true
)
static member Create :
?history : int *
?varThreshold : float *
?detectShadows : bool
(* Defaults:
let _history = defaultArg history 500
let _varThreshold = defaultArg varThreshold 16
let _detectShadows = defaultArg detectShadows true
*)
-> BackgroundSubtractorMOG2
OpenCvSharp.BackgroundSubtractorMOG2.Create = function(history, varThreshold, detectShadows);
Parameters
- history (Optional)
- Type: SystemInt32
- varThreshold (Optional)
- Type: SystemDouble
- detectShadows (Optional)
- Type: SystemBoolean
Return Value
Type:
BackgroundSubtractorMOG2
See Also