Skip to main content
. 2021 Jan 27;21(3):843. doi: 10.3390/s21030843
Algorithm 1
if HeadnHeadh<20 then
  the target pedestrian is heading in the same direction as the host vehicle, no collision warning is sent
else if HeadnHeadh>160 then
  the target pedestrian is heading in the conflict direction with the host vehicle, collision warning is sent
else if 20<HeadnHeadh<160 then
  the target pedestrian is crossing on the left side of the host vehicle, collision warning is sent
else if 160<HeadnHeadh<20 then
  the target pedestrian is crossing on the right side of the host vehicle, collision warning is sent
end if