TL;DR
This paper introduces a comprehensive domain randomization (DR) pipeline that generates high-quality synthetic training data from CAD models to bridge the "sim-to-real" gap in manufacturing object detection. By evaluating their approach on a new 15-object industrial dataset (SIP15-OD) and an existing robotics benchmark, the authors demonstrate that YOLOv8 models trained exclusively on synthetic data can achieve outstanding real-world accuracy, reaching up to 99.5% mAP@50.
What Problem Does This Paper Address?
Deep learning has massive potential in smart manufacturing for tasks like robotic part-picking and automated quality inspection. However, training these models requires large volumes of annotated image data. Collecting and manually labeling thousands of images on a factory floor is expensive, time-consuming, and prone to human error.
While generating synthetic data from existing CAD models seems like an obvious solution, models trained on pure simulation data typically fail when deployed in the real world. This discrepancy is known as the sim-to-real reality gap. Manufacturing environments introduce complex challenges: highly reflective metallic surfaces, textureless plastic components, variable lighting, and cluttered backgrounds. Most prior domain randomization research has focused on narrow, single-use cases, failing to capture the full environmental diversity of a real factory.
Methods
The authors developed a fully integrated synthetic data generation pipeline using Blender and its Python API. The pipeline applies domain randomization across five core dimensions:
- Object Randomization: Randomizes the number of objects, their spatial placement, and applies a gravity simulation to ensure realistic orientations. Textures are randomized using flat colors, random background images, or Physically Based Rendering (PBR) materials.
- Background & Distractor Randomization: Objects are placed in a 3D room where walls and floors are textured with random real-world images. Irrelevant 3D shapes (cubes, spheres) are scattered as distractors to simulate clutter.
- Camera Randomization: Randomizes camera positions on a spherical shell, field of view (FOV), and focal points to simulate different scales and viewing angles.
- Illumination Randomization: Randomizes the number, intensity, and color of area lights to prevent over- or under-exposure.
- Post-Processing: Applies random Gaussian blur and salt-and-pepper noise to mimic real-world camera sensor imperfections.
For rendering, the authors compared two engines: Eevee (a fast, rasterization-based engine) and Cycles (a physically accurate path-tracing engine). The generated data was then used to train a YOLOv8 object detection model.
Datasets
The pipeline was validated on two distinct datasets:
- Robotics Dataset (Horvath et al.): A public benchmark containing 10 industrial objects and 190 manually annotated real-world images.
- SIP15-OD (Synthetic Industrial Parts Object Detection): A new dataset introduced by the authors containing 15 CAD models across three distinct manufacturing use cases (U1: textureless truck cabin parts; U2: highly similar truck roof forks; U3: metallic truck transmission gears). It includes 321 real-world validation images captured across three factory scenarios (conveyor belts, delivery boxes, and workstations).
Key Insights and Ideas
- Path Tracing is Crucial for Metals: The choice of rendering engine matters immensely. Path tracing (Cycles) consistently outperformed rasterization (Eevee) because it accurately models how light bounces off complex geometries. This significantly reduced the reality gap for shiny, metallic industrial parts.
- Texture Strategy Depends on the Material: For metallic objects, using realistic PBR textures during data generation yielded the best results. However, for textureless black plastic parts, completely random textures worked just as well, saving computational setup time.
- Data Saturation Limits Exist: More data isn't always better. The authors found that model performance plateaus after a certain threshold. For simple, controlled backgrounds, 800 synthetic images per category were sufficient. For complex, cluttered backgrounds, at least 1,500 images per category were required to maximize accuracy.
Key Results
The YOLOv8 models trained purely on the synthetic data generated by this pipeline achieved top-tier performance when tested on real-world images:
- Robotics Dataset: Achieved 96.4% mAP@50 in a zero-shot setting, a massive improvement over the previous state-of-the-art benchmark of 83.6%. When allowed just a single real image for fine-tuning (one-shot), performance ticked up to 97.5%.
- SIP15-OD Dataset: Achieved 94.1% mAP@50 for Use Case 1 (cabin parts), 99.5% for Use Case 2 (roof parts), and 95.3% for Use Case 3 (transmission parts).
Limitations and Future Work
Despite the high overall accuracy, the authors highlighted two primary failure modes:
- Missed Detections of Simple Shapes: Objects with very simple geometric profiles (like cylinders or simple hooks) were occasionally misclassified as background clutter because the model relied too heavily on complex shapes during training.
- Visual Ambiguity: The model struggled to differentiate between parts that are partially identical or share highly similar profiles from certain angles (e.g., differentiating between two slightly different gear sizes).
Future work will focus on refining the data generation pipeline to dynamically adjust randomization parameters for these challenging, visually ambiguous categories to achieve a better performance balance.
Summary updated