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
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
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
- Upload an image: Drop any photo into the widget above to try vehicle speed estimation for free, right on this page.
- 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.
- 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.
- 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 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.
Not sure where to start?
Describe your Vehicle Speed Estimation project to Roboflow Agent.