1 | initial version |
syntax has changed between 2.4 and 3.1. use:
fpbg=cv2.createBackgroundSubtractorMOG2
2 | No.2 Revision |
syntax api has changed between 2.4 and 3.1. use:
fpbg=cv2.createBackgroundSubtractorMOG2
3 | No.3 Revision |
api has changed between 2.4 and 3.1. use:
fpbg=cv2.createBackgroundSubtractorMOG2
fpbg=cv2.createBackgroundSubtractorMOG2()
4 | No.4 Revision |
api has changed between 2.4 and 3.1. use:
fpbg=cv2.createBackgroundSubtractorMOG2()
fpbg=cv2.createBackgroundSubtractorKNN()
and the MOG and GMG versions are in the bgsegm module in opencv_contrib, so that's:
fpbg=cv2.bgsegm.createBackgroundSubtractorMOG()
fpbg=cv2.bgsegm.createBackgroundSubtractorGMG()