Error analysis in a stereo vision-based pedestrian detection sensor for collision avoidance applications