ScratchSim: A Procedural Synthetic Data Pipeline for Surface Scratch Detection

Paul Julius Kühn, Saptarshi Neil Sinha, Tiago Kleist, Richard Hoffmann, Arjan kuijper +1 more
7/29/2026
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

While automated defect detection such as the detection of surface scratched is an important aspect in industrial quality control, the scarcity of annotated defect data make this task challenging. This paper presents a procedural rendering pipeline that generates large-scale annotated synthetic training data using BlenderProc, with configurable material appearance, camera modes, and domain randomization, producing automatic COCO-format annotations. To show the potential of our approach, we evaluate four training strategies, namely synthetic-only, real-only, mixed, and fine-tuning from synthetic weights, across two objects with different material properties and three lightweight edge-deployable detectors, YOLOX, YOLO26, and LW-DETR. Our evaluation show that fine-tuning from synthetic weights consistently outperforms real-only training, and that mixed training effectively recovers performance under scarce real-data conditions, with findings validated across both convolutional and transformer-based architectures. The proposed approach enables scalable defect detection without the burden of large real annotated datasets, making it practical for on-device industrial inspection. The pipeline scripts, 3D model, and both synthetic and real annotated scratch datasets for a glossy toy Ferrari car will be made available through the project website upon acceptance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{khn2026scratchsim,
  title  = {ScratchSim: A Procedural Synthetic Data Pipeline for Surface Scratch Detection},
  author = {Paul Julius Kühn and Saptarshi Neil Sinha and Tiago Kleist and Richard Hoffmann and Arjan kuijper and Michael Weinmann},
  year   = {2026},
  eprint = {2607.27065},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.27065v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.27065.svg)](https://codeofpaper.com/paper/2607.27065)

Discussion