A robust system for real-time pedestrian detection and tracking