F1 CUTFinding the race cars in 12 hours of Las Vegas traffic cameras 8 cameras × 90 min360×240 pixels1,237 clips found2026 Las Vegas Grand Prix footage: Nevada DOT cameras, via walzr.com/formula-none
0. The problem — 12 hours of video, and the good parts last seconds
Eight cameras, the same eight seconds. Find the race car.
Real footage. Click a video to make it big.
8traffic cameras
×
90minutes each
=
12 hoursof footage

A race car crosses a camera's view in a second or two. Watching it all, without a single pause or rewind, is one and a half working days of staring at road.

What we had8 videos, 90 minutes each. No list of when cars appear in them.
What we wantedEvery pass cut out as its own short clip, ready to edit.
The catch"Something moved" isn't enough. Light shows, screens, people, cranes and a shaking camera move too.

The cameras are fixed (one changes its view once), so we asked: can plain arithmetic on pixels find the cars? No trained vision model was used to detect them.

How we got there — six steps, read down each column then across; includes what failed

1. First idea: subtract the last picture

Take a frame, subtract the frame from 0.3 seconds earlier. Whatever is left moved. White = "changed".

This road is empty. The simple method says % of it changed. Light shows, flashes and a shaking camera repaint huge areas, and every one looks like a car.

2. Dead end: let the computer find the road

We tried marking "road" automatically: wherever things move a lot. It found the road on every camera. It also found billboards, LED screens, trees and crowds. We checked 8 of the extra detections: 8 of 8 were empty road. Dropped.

3. The key trick: keep only small detail

Blur a copy of the frame and subtract it. Smooth changes (a road turning pink, a wash of light) disappear. Sharp small things, like a car, stay.

4. Draw the road, then punish everything else

We outlined each camera's road by hand (on some, then narrowed to where movement kept happening). Then the second trick: a car changes pixels only on the road. A camera shake or lighting flash changes pixels everywhere. So:

score = change on the road − 1.5 × change off the road  (never below 0)

Red = counted. Grey = changed, but off the road. Now the same empty moment from step 1:

Share of road "changed"Simple subtractAfter fine detail, on the road
Empty road
Road with cars
The last column is before the off-road penalty. On the empty moment it already reads zero.

5. One number, ten times a second

That score, measured every 0.1 s, gives 54,000 numbers per camera. It's the black line in the detector below. Then:

Smooth over0.5 s
Start a pass above6% of the camera's own near-peak (99th percentile)
End it after quiet for4 s (so a pack stays one clip)
Ignore anything shorter than1 s
Padding on each side2 s

Each camera sets its own bar, because road size, distance and lighting all differ. Then ffmpeg cuts the clips, frame-accurately.

Result: 1,237 clips, about 254 minutes. Roughly two thirds of the footage was cut away.

6. How much to trust it

A pass we had spotted by eye at 5:16 landed inside the right clip. We looked at 4 random clips from each camera: a car was visible in all 28 on the seven good cameras. All 1,237 files play end to end.

That is a spot check of 32 clips, not a count of every miss or false alarm. The detector finds motion on the road, so a safety car, truck, crane or marshal can slip in. One camera, Harrah's, is much weaker: it looks over a barrier wall and changes view partway through.

Be the car detector — the real 90-minute signal, running in your browser
clips cut
minutes kept
of the 90 min
All 90 minutes. Black = road motion; blue bars = clips at your setting; yellow = safety car. Click anywhere to zoom in.
Slide left and noise becomes "cars". Slide right and lone cars vanish. We picked 6% on the Caesars camera because it reproduced an earlier, hand-checked version: 152 of its 155 passes were found again.
All eight cameras — click a row to load it above
Every one of the 1,237 clips as a stripe, one row per camera. The repeating rhythm is the field coming round, lap after lap. Yellow = safety car.
Where it ended up — one clip, seven looks, in real time
The cars never pause. The picture around them changes by hard cut, and ends as only the cars, each in its own colour, on black. Click any video on this page to make it big.
1,237 is too many — which ones are the best?

The plot twist. "Most cars" picked the slowest laps

Our first score counted bursts of cars and total motion. 13 of its top 14 clips were the safety car: the whole field bunched up, crawling. Lots of cars, no speed.

Behind the safety car: the field strung together, running slowly. We took that stretch out of the ranking (the times come from race control messages).

Measuring speed. Try 1 failed, try 2 passed

Our test: a believable speed measure must read lower behind the safety car. The first one didn't. The second follows each blob and measures how many of its own lengths it moves per second.

Camera (try 2)Safety carRacing
Slower under the safety car on all 8. These are not km/h, and cameras can't be compared with each other. Harmon's readings are noise, so its speed isn't used. We also tried to detect overtakes: it didn't work, so we claim none.

The score. Four things, judged per camera

action = average of how unusual a clip is, for its own camera, in: car bursts, total motion, peak motion, speed

The front-runner. 16 of the best, at once

At most two per camera, so there's something happening in every square. We also built a "fastest only" grid. It was less fun to watch, so it lost.
Then we played with the look — the same eight seconds, seven ways, side by side
"Now minus before" — the detector's own view turned out to look great
Inverted: subtract the picture 0.3 s ago, soften, boost, invert. Still things vanish; movers turn into ink. Made for all 1,237 clips, both ways.
Neon: take the white-on-black version, tint it hot pink, green, cyan or orange, add a glow.
A colour per car: find each blob, split ones that touch, follow it frame to frame, and let it keep its colour.
Only the cars — one clip from each camera, on pure black. Made for the top 25% by action: 309 clips
Not perfect: the shapes are blobby, a big close car can split into two or three colours, and a car can change colour if we lose track of it.
Definitions — the words on this page, in plain English

Pass — one burst of vehicle movement past a camera: a lone car or a whole pack.

Frame — one still picture. This footage has about 30 a second.

Frame difference — one picture minus an earlier one. What didn't change goes black.

High-pass — a picture minus its own blur, leaving edges and small detail.

Road mask — a hand-drawn outline saying which pixels are road.

Signal — the road-motion score over time, one number every 0.1 s.

Threshold — the bar the signal has to clear to count as a pass.

99th percentile — a level the signal beats only 1% of the time; a stand-in for "very busy" that one freak spike can't distort.

Safety car — a car that leads the field slowly after an incident.

Burst — a separate spike in motion inside a clip; a rough car count. Cars close together can merge.

Blob — a connected patch of changed pixels, usually one car.

Tools — Python, NumPy, SciPy and ffmpeg.

12 hours in. The cars out.
An independent hobby project, not affiliated with Formula 1, Nevada DOT or the source site. Camera footage from Nevada DOT traffic cameras, as replayed on walzr.com/formula-none (its credit line: "NDOT cameras · OpenF1 timing"). Footage is 360×240; videos here are compressed excerpts.