Model-Based Visual Localisation Of Contours And Vehicles