video

BackgroundSubtractorMOG2

fields

BackgroundSubtractorMOG2 = {
history : uint ,
varThreshold : number ,
detectShadows : boolean
}

constructors

constructor ( history : uint = 500 , varThreshold : number = 16 , detectShadows : boolean = true )

functions

apply

Result : Mat
apply ( frame : Mat , learningRate : number = -1 ) : Result