Class BackgroundSubtractorMOG2
Constructors
constructor
- new BackgroundSubtractorMOG2(history?, varThreshold?, detectShadows?): BackgroundSubtractorMOG2
Parameters
Optional
history: number
Optional
varThreshold: number
Optional
detectShadows: boolean
- new BackgroundSubtractorMOG2(opt): BackgroundSubtractorMOG2
Properties
Readonly
detectShadows
detectShadows: boolean
Readonly
history
history: number
Readonly
varThreshold
varThreshold: number
Methods
apply
- apply(frame, learningRate?): Mat
Parameters
frame: Mat
Optional
learningRate: number
Returns Mat