detect train experiment 1 - adamantivm/railwatch GitHub Wiki

Trying to detect a train passing by using the corpus of 300 images from the german Bahnhof

The intended output of this experiment is to go through the images and signal True when a train is crossing the line marked in the picture below:

seq base

Images returned by the service are 800x600 JPG.

A first glance at this corpus shows:

  • Lighting changes gradually from the first to the last picture
  • There is a train arriving to the station, stays at the station almost the whole time, and goes out the way it came, crossing the green line towards the end. There is also another, longer, cargo train going through the green line in the "down" direction around one third of the duration of the shot. So, analysis of the whole set should yield two train detections: one at around one third of the length of the shot and another one towards the end.