Motion Tracking with Python

Derek Simkowiak derek at
Fri Sep 30 04:16:52 CEST 2011

I have a neat Python project I'd like to share. It does real-time motion 
tracking, using the Python bindings to the OpenCV library:

There is a YouTube video showing the script in action.

It's especially neat because my daughter and I worked together on this 
project. We used it to track her two pet gerbils, as part of her science 
fair project. She wrote her own (separate) Python script to read the 
motion tracking log files, compute distance and velocity, and then 
export those values in a CSV file. Like I say on the web page: "I’m 
convinced that Python is the best language currently available for 
teaching kids how to program."

I also use Python professionally, and it's worked out great every time. 
There's no job Python can't handle.

Derek Simkowiak

More information about the Python-list mailing list