First time here? Check out the FAQ!
answered 2018-02-15 04:06:31 -0600
please have a look at the docs
there is no 4th argument, use it like:
let fgbg = new cv.BackgroundSubtractorMOG2(500, 16, true);