When a vehicle or pedestrian is detected, a rectangle is drawn in the analysis result video, and if the midpoint of its lower edge (the red circle in the image below) crosses the detection line, it is considered to have passed.
When a vehicle or pedestrian is detected, a rectangle is drawn in the analysis result video, and if the midpoint of its lower edge (the red circle in the image below) crosses the detection line, it is considered to have passed.