Ask Your Question
0

Serializing BackgroundSubtractor

asked May 18 '17

Guy78 gravatar image

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

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered May 18 '17

berak gravatar image

updated May 18 '17

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.

Preview: (hide)

Question Tools

1 follower

Stats

Asked: May 18 '17

Seen: 225 times

Last updated: May 18 '17