Markr NEU-DET detector
steel surface defect detector
1 min readupdated
Markr NEU-DET Detector is a specialized computer vision model based on Faster R-CNN (ResNet50-FPN), trained to detect defects on hot-rolled steel. It recognizes six types of surface damage, including scratches, cracks, and patches. The model was developed as part of a use case for the Markr image annotation platform and is designed for industrial quality control tasks. It helps automatically identify defective products on production lines.
Key features
- Built on the Faster R-CNN architecture with a ResNet50-FPN backbone.
- Trained on the specialized NEU-DET dataset (1,800 images).
- Supports 6 defect classes: scratches, inclusions, patches, and others.
- Achieves an mAP@0.5 metric of 0.778 on the test set.
What you can do
- Integrate the detector into computer vision systems for metal quality control.
- Load pre-trained weights and the model using standard PyTorch and torchvision tools.
- Use scripts from the Markr repository to evaluate accuracy by individual classes.
Example
import torch, torchvision
ckpt = torch.load("neu_det.pth", map_location="cpu")
n = len(ckpt["class_names"]) + 1
model = torchvision.models.detection.fasterrcnn_resnet50_fpn(weights=None, num_classes=n)
model.load_state_dict(ckpt["model"])
model.eval()
Read more
DetailsMetrics: mAP@0.5 = 0.778, mAP@0.5:0.95 = 0.418.
Dataset: NEU-DET (1,440 train / 360 holdout).
Limitations: hot-rolled steel only; complex diffuse defects are detected less reliably.










Comments