This repository contains a collection of scripts to measure things, like the lap count and lap times of a model train, based on a video or live cam feed. Created to test the performance of Batteroo sleeve, but of couse can be used for other tasks as well.
On Linux, install the required OpenCV libraries like this:
sudo apt-get install libopencv-dev python-opencv
Also requires matplotlib
sudo apt-get install python-matplotlib python-mpltoolkits.basemap