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.

Segmentation · Construction & Infrastructure

Road crack detection: Datasets & Models

Automatically detect and segment cracks in road surfaces from images captured by vehicle-mounted or handheld cameras. Outputs pixel-level masks that pinpoint crack location, extent, and type.

Road crack detection example
1M+
developers
16k
organizations
50B
inferences

Road crack detection

This segmentation workflow processes images of pavement and road surfaces to locate cracks and generate pixel-level masks that capture each defect's true shape, extent, and location. Trained on a road crack dataset, it identifies crack types such as longitudinal, transverse, and alligator cracking, along with potholes, from photos captured by vehicle-mounted or handheld cameras.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate road crack detection

Manual pavement inspection is slow, subjective, and hard to scale across the miles of roadway that infrastructure teams are responsible for maintaining. Sending crews to walk or drive segments and eyeball defects produces inconsistent severity ratings and creates a backlog that delays repairs until damage is expensive to fix. Automating crack detection with segmentation lets a team process thousands of images consistently, measure crack area and density objectively, and prioritize maintenance based on real data. This turns a subjective, labor-intensive survey into a repeatable pipeline that can run every time a vehicle drives a route.

Key benefits

Instance segmentation captures the exact shape and surface area of each crack, so teams get quantitative severity metrics instead of rough estimates, feeding directly into pavement condition indexes and maintenance planning. The workflow runs on imagery from cameras you already deploy on survey vehicles, drones, or phones, so there's no new hardware required to get started. As your labeled dataset grows, the model improves and scales to cover entire road networks without adding inspection headcount.

How to use it

  1. Upload an image: Drop any photo into the widget above to try road crack detection for free, right on this page.
  2. Preview instant results: The model detects longitudinal crack, transverse crack, alligator crack, pothole, surface patch 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 (instance segmentation) 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 road crack detection

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 road crack detection, 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 Road Crack Detection project to Roboflow Agent.

Agent