Traffic monitor playback

Every frame here is real output from the pipeline in this repository — YOLOv4-tiny through OpenCV, a centroid tracker holding vehicle identity between frames, and a counting line that turns detections into a throughput number. Scrub or press play.

Annotated output

Annotated traffic frame
frame 0

Green boxes are cars, blue are trucks; white dots are tracked centroids with their track id. The red line is the counting line — a vehicle is added to the total the first time its track crosses it, which is why the count never double-counts a car sitting in frame.

Live counters

0
in frame
0
crossed the line
vehicles in frame current position

Totals for the clip

500 frames at 320×240, processed at 8.2 fps on a two-core CPU with no GPU. Detection accuracy is deliberately not claimed: the clip ships without labels. What the repository does report is a near-field limitation study showing where this detector stops working, and why.