Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Suitable algorithm for *non-adaptive* background removal

I'm using OpenCV 2.4.10.

If I understand correctly, BackgroundSubtractorMOG and BackgroundSubtractorMOG2 are specifically designed for background removal in real-time, in an adaptive way (the internal background model of the subtractor adapts to the last N frames that are fed in).

What if I can capture a sequence where I know the whole scene is the background, and I don't need the background subtraction to work in real-time.

I have hundreds of sequences of pre-recorded jpeg files of an indoor room, with some people walking around. And I also have a pre-recorded control sequence where the whole room is the background, with no person in it. Is there a better algorithm that I can use to perform background removal?