First time here? Check out the FAQ!
answered 2013-02-25 08:29:54 -0600
Try the background subtract methods of OpenCV here and specially the Mixture of Gaussian here, and the associated sample (cpp/segment_object.cpp) for an example.