Ask Your Question
0

Serializing BackgroundSubtractor

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

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 -0600

berak gravatar image

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

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

Question Tools

1 follower

Stats

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

Seen: 224 times

Last updated: May 18 '17