On-Board Detection of Pedestrian Intentions