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