Ask Your Question

Revision history [back]

copy cv2.BackgroundSubtractorMOG2

Is there a way to create a duplicate copy of cv2.BackgroundSubtractorMOG2 in python? I want to train it for a single set of frames first, then train it for 2 different set of frames later.

copy.copy() and copy.deepcopy() did not work.