Looking at the original paper (http://www.ai.mit.edu/projects/vsam/Publications/stauffer_cvpr98_track.pdf), and at this page http://docs.opencv.org/trunk/db/d5c/tutorial_py_bg_subtraction.html, tthe question is:
There is already an implementation of the Stauffer & Grimson algorithm in opencv ?