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 · Manufacturing & QC

Rust detection: Datasets & Models

Segmentation-based detection of rust and corrosion on metal surfaces, pinpointing the exact affected regions in inspection images. Useful for automating visual quality control across manufacturing and asset inspection workflows.

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

Rust detection

This workflow applies instance segmentation to inspection images of metal surfaces, producing pixel-level masks that mark where rust, corrosion, and surface oxidation appear on components, structures, and equipment. It takes standard photos or camera frames as input and, when trained on a rust dataset, outputs the location and extent of each corroded region for automated visual quality control.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate rust detection

Manual rust inspection is slow, subjective, and inconsistent between inspectors, and it often misses early-stage corrosion until it becomes a structural or warranty problem. Building on a labeled rust dataset lets teams automate this visual check so every part, weld, or panel is evaluated against the same criteria at line speed. Segmentation is especially valuable here because corrosion is irregular and spreads across surfaces, so a bounding box alone can't tell you severity or coverage the way a precise mask can. For manufacturing and QC teams, that means catching defects earlier and generating an auditable record of every inspection.

Key benefits

Automated rust segmentation delivers consistent, quantifiable coverage estimates that support pass/fail decisions and long-term corrosion tracking. It runs on the cameras and inspection hardware you already have, making it straightforward to slot into existing production lines, drone surveys, or asset-monitoring routines. As inspection volume grows, the same model scales across sites and product lines without adding headcount, and it improves as you add more images to your training set.

How to use it

  1. Upload an image: Drop any photo into the widget above to try rust detection for free, right on this page.
  2. Preview instant results: The model detects rust, corrosion, metal surface, weld, pipe 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 rust 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 rust 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 Rust Detection project to Roboflow Agent.

Agent