This page is being translated by your browser

Translation can break parts of Roboflow. If something stops working, turn translation off and reload the page.

Detection · Smart Cities & Traffic

Vehicle speed estimation: Datasets & Models

Estimate vehicle speed from camera footage by detecting and tracking vehicles across frames. Combines object detection with frame-to-frame motion analysis to calculate how fast each vehicle is moving.

Vehicle speed estimation example
1M+
developers
16k
organizations
50B
inferences

Vehicle speed estimation

This workflow performs vehicle speed detection by processing traffic camera or roadside video and detecting each vehicle in the frame. It tracks those detected vehicles across sequential frames and measures their displacement against a known real-world scale to estimate the speed of each vehicle.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate vehicle speed estimation

Manual vehicle speed detection relies on dedicated radar or inductive-loop hardware that is expensive to install, maintain, and expand across a road network. A vision-based approach lets traffic teams reuse existing surveillance and roadside cameras to measure speed, flag speeding vehicles, and gather flow data without trenching roads or deploying new sensors. This means faster rollout across intersections and corridors, and richer context since the same footage also captures vehicle type, lane occupancy, and congestion.

Key benefits

Detection models like RF-DETR run on standard camera feeds and integrate with existing traffic infrastructure, so you can scale speed estimation across many cameras without specialized hardware at each site. Teams get consistent, per-vehicle speed measurements alongside vehicle classification and count data, supporting enforcement, safety analysis, and adaptive signal control. The workflow scales from a single intersection to a citywide network as camera coverage grows.

How to use it

  1. Upload an image: Drop any photo into the widget above to try vehicle speed estimation for free, right on this page.
  2. Preview instant results: The model detects car, truck, bus, motorcycle, license plate within seconds and returns an annotated image with structured predictions, so you can immediately see how well it works. Adjust the detection classes and re-run until the results fit your scenario.
  3. Like what you see?: With a free Roboflow account, you can deploy this workflow with the Serverless Cloud API, customize it in your workspace, or train RF-DETR on your own images for production accuracy.
  4. Get started for free: No code or training data required to begin: upload, review the results, and make it part of your stack in a single click.
Recommended model

Recommended model for vehicle speed estimation

RF-DETR is state of the art for real-time object detection, instance segmentation, and keypoint detection, with higher accuracy and lower latency than comparable models, and it's Apache 2.0 licensed. When you're ready to build a production model for vehicle speed estimation, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.

Train your own model
Roboflow Agent

Not sure where to start?

Describe your Vehicle Speed Estimation project to Roboflow Agent.

Agent