Ask Your Question

spatel's profile - activity

2016-01-05 21:41:53 -0600 asked a question BackgroundSubtractorMOG2 save state

It looks like there isn't a method to serialize/save the entire state of a BackgroundSubtractorMOG2 object. The getBackgroundImage() API does a good job but there are other matrices which aren't exposed via APIs e.g. u_mean,u_variance etc. I'd like to export the state of a Background subtractor and restore it on a different machine. What are the minimal set of values which need to be preserved to facilitate this?