Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, OpenCV provides you several different background subtraction algorithms (OpenCV BackgroundSubtractor). In your case you can try BackgroundSubtractorMOG which implements the algorithm of the paper "An improved adaptive background mixture model for real-time tracking with shadow detection, Proc. 2nd European Workshop on Advanced Video-Based Surveillance Systems, 2001: http://personal.ee.surrey.ac.uk/Personal/R.Bowden/publications/avbs01/avbs01.pdf