Ask Your Question
0

Serializing BackgroundSubtractor

asked 2017-05-18 04:05:00 -0500

Guy78 gravatar image

What's the easiest way in C++ to serialize or with other way save BackgroundSubtractor's state.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-18 04:09:52 -0500

berak gravatar image

updated 2017-05-18 04:46:34 -0500

it is simply not possible.

since the "model" here is composed from the recent frames from your camera (or video), and has to be continuously updated, it does not make any sense to serialize it, imho.

for a different situation (or even, a different point in time), you have to re-learn the model.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-05-18 04:05:00 -0500

Seen: 35 times

Last updated: May 18