A Lane Detection, Tracking and Recognition System for Smart Vehicles