Crack detection: Datasets & Models
Automated crack detection uses instance segmentation to identify and outline cracks on manufactured parts, surfaces, and structures from camera images. It flags defects that would otherwise require manual inspection.
Crack detection
This crack detection workflow takes camera images of manufactured parts, welds, castings, concrete, and finished surfaces, then applies instance segmentation to find each crack. It returns pixel-level masks that outline the shape, length, and location of every crack so you can flag defects without manual inspection.
Try it out
Powered by general detection model
Run on custom image
Drop an image here or click to upload
Why automate crack detection
Manual crack inspection is slow, subjective, and inconsistent, inspectors fatigue, miss hairline fractures, and struggle to document exact defect geometry across high-volume production. Automating crack detection with segmentation gives you repeatable, measurable results: precise crack contours you can use to compute length and area, timestamped records for traceability, and consistent pass/fail decisions independent of operator. For QC teams, this means catching surface and structural defects earlier in the line and reducing scrap, rework, and warranty risk.
Key benefits
Instance segmentation delivers pixel-accurate crack outlines, so you can measure severity and trend defects over time rather than simply counting them. The workflow runs on existing inspection cameras and standard hardware, integrating into your production line or inspection stations without new capital equipment. It scales from a single QC checkpoint to plant-wide deployment while keeping detection criteria uniform across shifts and sites.
How to use it
- Upload an image: Drop any photo into the widget above to try crack detection for free, right on this page.
- Preview instant results: The model detects crack, surface crack, weld defect, corrosion, chip 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 (instance segmentation) 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 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 crack detection, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.
Not sure where to start?
Describe your Crack Detection project to Roboflow Agent.