Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Pickle background subtractor

Hi!

I am wondering... is it possible to pickle/serialize/store some how a subtractor object? I have a program which has a mode where it handles one frame and then quits... Seeing that the subtractor I'm using (mog) learn's it would seem like a waste to throw it away on exit. Could it be pickled for future use?

click to hide/show revision 2
retagged

updated 2013-10-24 12:50:33 -0500

berak gravatar image

Pickle background subtractor

Hi!

I am wondering... is it possible to pickle/serialize/store some how a subtractor object? I have a program which has a mode where it handles one frame and then quits... Seeing that the subtractor I'm using (mog) learn's it would seem like a waste to throw it away on exit. Could it be pickled for future use?