Computer vision supported pedestrian tracking: A demonstration on trail bridges in rural Rwanda
Fig 4
Deep learning people counter for left and right direction on a bridge.
The angle that a tracked object makes with the line between two anchor points at the center of the bridge is tracked over time. The behavior of that value for a given detection ID indicates whether the traversal is left-to-right or right-to-left.