First working version of the train detection using Hough Line Transform.