Method Create
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Create(int, bool, int, bool)
Creates a CNT Background Subtractor
public static BackgroundSubtractorCNT Create(int minPixelStability = 15, bool useHistory = true, int maxPixelStability = 900, bool isParallel = true)
Parameters
minPixelStabilityintnumber of frames with same pixel color to consider stable
useHistorybooldetermines if we're giving a pixel credit for being stable for a long time
maxPixelStabilityintmaximum allowed credit for a pixel in history
isParallelbooldetermines if we're parallelizing the algorithm