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.
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.
Test imagesEvery 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.
| Model | Detection score | Parts missed | False detections | Detection score, light 4 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Real only | + generated | Real only | + generated | Real only | + generated | Real only | + generated | |||||
| Nano | 0.924 | 0.945 | +2% | 180 | 130 | −28% | 86 | 40 | −53% | 0.904 | 0.935 | +3% |
| Small | 0.941 | 0.960 | +2% | 141 | 71 | −50% | 73 | 23 | −68% | 0.922 | 0.955 | +4% |
| Medium | 0.941 | 0.965 | +3% | 177 | 69 | −61% | 71 | 27 | −62% | 0.917 | 0.959 | +5% |
| Large | 0.946 | 0.963 | +2% | 163 | 73 | −55% | 68 | 23 | −66% | 0.923 | 0.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.
The same real test photo, two detectors.
Trained on real only
Trained on real + generatedReal photos keep the model grounded. Synthetic scenes widen what it has seen.
- 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.
- 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.
- 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.

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.














