Introduction - If you have any usage issues, please Google them yourself
Containing visual C++ and MATLAB code, the use of Gaussian background modeling feeding model, adaptive determine the number of Gaussian components, developed by Z.Zivkovic related article Improved adaptive Gausian mixture model for background subtraction