Skip to content
Benchmarks · Wall plug inspection

Your detector learned one setup. Synthetic data teaches it the rest.

We trained the same detection models under various settings: on real images alone, on generated images alone, and on real images combined with generated images.

52%
fewer detection errors on average (missed parts + false detections)
+4%
higher detection score under the hardest lighting, averaged across four model sizes
101%
of the real-photo score, from a model that never saw a real image in training
The problem

Real data only cover the day you collected it.

Inspection datasets are usually captured in one session, under a specific setup. A detector trained on them works well until the lighting changes or a camera setting is modified.

A detector trained on 141 real photos of wall plugs was nearly perfect under the lighting it was trained on. Under shifted lighting, it missed plugs in dense piles and reported detections that were wrong. The same model trained with additional images rendered from synthetic scenes found more parts and made fewer false detections, even under lighting it had never seen.

Collecting real images for every lighting condition is slow, if not impossible. You only learn which conditions you needed once the change is live, which can cost production time and a retrain and re-validation cycle.

Real photo: a dense pile of 54 wall plugs under light 1, even light from aboveTest images
The results

Every model size improved, by a similar margin.

Each row compares the same model trained on the 141 real photos alone, and with the 430 generated images added.

ModelDetection scoreParts missedFalse detectionsDetection score, light 4
Real only+ gener­atedReal only+ gener­atedReal only+ gener­atedReal only+ gener­ated
Nano0.9240.945+2%180130−28%8640−53%0.9040.935+3%
Small0.9410.960+2%14171−50%7323−68%0.9220.955+4%
Medium0.9410.965+3%17769−61%7127−62%0.9170.959+5%
Large0.9460.963+2%16373−55%6823−66%0.9230.957+4%
How we measured these numbers

Detection score is mAP50-95 on 200 real test photos: 50 piles, each photographed under four lights, with 5,930 parts. The 141 training photos show other piles, all under light 1, so lights 2 to 4 are lighting the real photos never showed. Missed parts and false detections are counted at a confidence threshold of 0.5, from the same predictions as the score. Each model was trained with different random seeds and the table shows the mean.

Simply using a bigger model did not solve the problem.

On real data alone, the nano, small, medium and large models all scored between 0.924 and 0.946.

More varied data moved the result. More model did not.

Score, light 4Real only+ generated
0.920.940.96NanoSmallMediumLarge0.9230.957
See the difference

The same real test photo, two detectors.

Real only modelTrained on real only
Real plus generated modelTrained on real + generated
correct detectionfalse detectionmissed part
One real test image, 36 wall plugs, under light 2, light from the right. Left, trained on real images only: one part missed and one false detection. Right, the same model trained with generated images added: every part found, no false detections. The table above gives the totals over all 200.
How it works

Real photos keep the model grounded. Synthetic scenes widen what it has seen.

  1. We model the part and the scene. A 3D model of the wall plug is dropped on a digital copy of the mat, with its own camera and light, in random piles and scattered groups.
  2. We render what the camera would see, including scenes where the light is moved, resized and dimmed, so the training set covers conditions the real images do not.
  3. We train on real and generated images together. The real images keep the model grounded in the actual part. The synthetic scenes widen what it has seen.
Generated scene · interactive 3D
What this means for you

Fewer misses, fewer false alarms, and a detector that survives change.

Fewer misses, fewer false alarms

Missed parts fell by 28 to 61%, and false detections by two to three times. Fewer parts slip through uncounted, and fewer stops are needed to check what the system thought it saw.

A detector that survives change

Averaged across four model sizes, from light 1 to light 4 the real-only models fell from 0.962 to 0.916. With generated images they held at 0.952.

Smaller, cheaper hardware

The smallest model trained with added synthetic data matched the largest model trained on real data alone. It has a tenth of the parameters and ran about six times faster in our test.

No labeling bill

Every generated image is rendered with exact outlines and boxes for each part. The 430 images added 9,554 labeled parts without anyone drawing a box.

Talk to us about your dataset.

Tell us about your task and the data you have. We will help you find what is missing.