← sources

A 20 MB model counting city traffic on a plain CPU: 34 vehicles, 0 double counts, no cloud

source: reddit (reddit:computervision)published 2026-11-03 18:36ingested 2026-11-04 02:37

retained text

I wanted to see how far a tiny model can go on a boring CPU, so I pointed it at a fixed street camera and set up a virtual counting gate across the avenue.

What it does:

\- Detects and tracks all vehicles, one box and one ID each

\- Counts what crosses the gate inbound, split by type

\- Runs on CPU only, \~172 ms/frame for detection + tracking (Mac, 1280 px)

\- No cloud, no plates read

On this 48 s clip it counted 34 vehicles: 30 cars, 3 buses and 1 truck, roughly 43/min. I checked a crop of every single crossing by hand and nothing was counted twice.

Next up: getting it onto a phone and a cheap camera board. Ask me anything about the tracking or how the dedup works.

I post the build process and new demos on X: https://x.com/estebanfuhrman

document fetched 2026-11-04 00:23 · canonical https://reddit.com/r/computervision/comments/1xn14in/a_20_mb_model_counting_city_traffic_on_a_plain