This example shows how to detect and count cars in a video sequence using foreground detector based on Gaussian mixture models (GMMs)