Image Processing in Python

Proof of concept for train detection  |  September 8th, 2016

Editor’s note: This post is part of our Trainspotting series, a deep dive into the visual and audio detection components of our Caltrain project. You can find the introduction to the series here.

The first step in developing our Caltrain project was creating a proof of concept for the image processing component of the device we used to detect passing trains. We’re big fans of Jupyter Notebooks at SVDS, and so we’ve created a notebook to walk you through that proof of concept.

Check out the notebook here

You can also download the .ipynb version and do some motion detection of your own. Later blog posts in this series will cover making this algorithm robust enough for real-time deployment on a Raspberry Pi.

Let us know any questions in the comments below, or share which pieces of the Caltrain project you’re most interested in. If you’d like to keep up with our activities, please check out our newsletter.