First time here? Check out the FAQ!
answered 2017-02-08 01:04:21 -0600
Use cv2.BackgroundSubtractorMOG(). because cv2.createBackgroundSubtractorMOG2 is an old one and it is replaced by cv2.BackgroundSubtractorMOG() in opencv latest versions.