I took a special topics course in Spring 2008 at Georgia Tech, ECE 8893: Embedded Video Surveillance Systems. The course included three projects, each shown below. Detailed information about the algorithm is in the source code comments. (All the source is in Python)
Project 1: Activity Density Estimation
Use background subtraction to find moving foreground objects in a video sequence. Then, color-code regions with the most activity. Here is the result:
Project 2: Styrofoam Airplane Tracking
Find all white styrofoam planes in the scene and track them throughout the scene. We used color thresholding and simple dynamics to do the tracking.
Project 3: Pedestrian Tracking
Count and track the pedestrians that cross on a busy sidewalk. We use a combination of motion estimation via background subtraction and feature matching using the Bhattacharyya measure.
Most of this code is very hack-y because it was done quickly. However, it was
fun to learn Python, and the class was enjoyable overall.