A review on pedestrian safety