Skip to main content

Synthetic Data Generation for Surface Defect Detection

  • Conference paper
  • First Online:
Extended Reality (XR Salento 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13446))

Included in the following conference series:

Abstract

Ensuring continued quality is challenging, especially when customer satisfaction is the provided service. It seems to become easier with new technologies like Artificial Intelligence. However, field data are necessary to design an intelligent assistant but are not always available. Synthetic data are used mainly to replace real data. Made with a Generative Adversarial Network or a rendering engine, they aim to be as efficient as real ones in training a Neural Network. When synthetic data generation meets the challenge of object detection, its capacity to deal with the defect detection challenge is unknown. Here we demonstrate how to generate these synthetic data to detect defects. Through iterations, we apply different methods from literature to generate synthetic data for object detection, from how to extract a defect from the few data we have to how to organize the scene before data synthesis. Our study suggests that defect detection may be performed by training an object detector neural network with synthetic data and gives a protocol to do so even if at this point, no field experiments have been conducted to verify our detector performances under real conditions. This experiment is the starting point for developing a mobile and automatic defect detector that might be adapted to ensure new product quality.

Supported by organization Arts et métiers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Definition from https://www.britannica.com/.

  2. 2.

    https://unity.com version 2020.1.15f1.

  3. 3.

    http://defectsdatabase.npl.co.uk/defectsdb/defects_query.php and https://www.kaggle.com/yidazhang07/bridge-cracks-image.

  4. 4.

    YOLO is a real-time object detector, previous work [1, 14, 16] used different version of this NN to perform object detection.

  5. 5.

    https://github.com/AlexeyAB/darknet.

References

  1. Yu, J., Zhang, W.: Face Mask Wearing Detection Algorithm Based on Improved YOLO-v4. https://doi.org/10.3390/s21093263

  2. Jovančević, I., Orteu, J.J., Sentenac, T., Gilblas, R.: Inspection d’un aéronef à partir d’un système multi-capteurs porté par un robot mobile”, 14ème Colloque Méthodes et Techniques Optiques pour l’Industrie (2015). https://hal.archives-ouvertes.fr/hal-01350898

  3. Tabernik, D., Šela, S., Skvarč, J., Skočaj, D.: Segmentation-based deep-learning approach for surface-defect detection. J. Intell. Manuf. 31, 759–776 (2019). https://doi.org/10.1007/s10845-019-01476-x

  4. El Emam, K.: Accelerating AI with Synthetic Datan (2020). https://www.nvidia.com/fr-fr/deep-learning-ai/resources/accelerating-ai-with-synthetic-data-ebook/ebook link, ch.1 &2

  5. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Ozai, S., Courville, A., Bengio, Y.: Generative adversarial networks. In: Advances in Neural Information Processing Systems 27, vol. 63, pp. 139–144 (2014). https://doi.org/10.1145/3422622

  6. Jain, S., Seth, G., Paruthi, A., Soni, U., Kumar, G.: Synthetic data augmentation for surface defect detection and classification using deep learning. J. Intell. Manuf. 1–14 (2020). https://doi.org/10.1007/s10845-020-01710-x

  7. Johnson-Roberson, M., Barto, C., Mehta, R., Sridhar, S.N., Rosaen, K., Vasudevan, R.: Driving in the Matrix: Can virtual worlds replace human-generated annotations for real world tasks?. In: 2017 IEEE International Conference on Robotics and Automation (ICRA), pp. 746–753 (2017). https://doi.org/10.1109/ICRA.2017.7989092

  8. Cohen, J., Crispim-Junior, C., Grange-Faivre, C., Tougne, L.: CAD-based Learning for Egocentric Object Detection in Industrial Context. In: 5th International Conference on Computer Vision Theory and Applications, pp. 644–651 (2020). https://doi.org/10.5220/0008975506440651

  9. Tremblay, J., Prakash, A., Acuna, D., Brophy, M., Jampani, V.: Training Deep Networks with Synthetic Data: Bridging the Reality Gap by Domain Randomization. In: 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pp. 1082–10828 (2018). https://doi.org/10.1109/CVPRW.2018.00143

  10. Proença, P.F., Gao, Y.: Deep Learning for Spacecraft Pose Estimation from Photorealistic Rendering. In: 2020 IEEE International Conference on Robotics and Automation (ICRA), pp. 6007–6013 (2020). https://doi.org/10.1109/ICRA40945.2020.9197244

  11. Hodapp, J., Schiemann, M., Arcidiacono, C., Reichenbach, M., Bilous, V.: Advances in automated generation of convolutional neural networks from synthetic data in industrial environments. In: Hawaii International Conference on System Sciences, pp. 1278–1286 (2020). https://doi.org/10.24251/HICSS.2020.565

  12. Fan, S., Ng, T.T., Herberg, J.S., Koenig, B.L., Tan, C.Y.-C., Wang, R.: An Automated estimator of image visual realism based on human cognition. In: 2014 IEEE Conference on Computer Vision and Pattern Recognition, pp. 4201–4208 (2014). https://doi.org/10.1109/CVPR.2014.535

  13. Hodan, T., et al.: Photorealistic Image Synthesis for Object Instance Detection. arXiv 1902.03334 (2019)

    Google Scholar 

  14. Huh, J., Lee, K., Lee, I., Lee, S.: A simple method on generating synthetic data for training real-time object detection networks. In: 2018 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC), pp. 1518–1522 (2015). https://doi.org/10.23919/APSIPA.2018.8659778

  15. Wong, M.Z., Kunii, K., Baylis, M., Ong, W.H., Kroupa, P., Koller, S.: Synthetic dataset generation for object-to-model deep learning in industrial applications Peer J. Comput. Sci. 5, e222 (2019). https://doi.org/10.7717/peerj-cs.222

  16. Jing, J., Zhuo, D., Zhang, H., Liangm Y., Zheng, M.: Fabric defect detection using the improved YOLOv3 model. J. Eng. Fibers Fabrics 15 (2020). https://doi.org/10.1177/1558925020908268

  17. Peng, X., Sun, B., Ali, K., Saenko, K.: Learning deep object detectors from 3D models. In: 2015 IEEE International Conference on Computer Vision (ICCV), pp. 1278–1286 (2015). https://doi.org/10.1109/ICCV.2015.151

  18. Sarkar, K., Varanasi, K., Stricker, D.: Trained 3D Models for CNN based object recognition. In: Proceedings of the 12th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - VISAPP, (VISIGRAPP 2017), vol. 5. https://doi.org/10.5220/0006272901300137

  19. de Melo, C.M., Rothrock, B., Gurram, P., Ulutan, O., Manjunath, B.S.: Vision-based gesture recognition in human-robot teams using synthetic data. In: 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 10278–10284 (2020). https://doi.org/10.1109/IROS45743.2020.9340728

  20. Bochkovskiy, A., Wang, C.-Y., Mark Liao, H.-Y.: YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv 2004.10934 (2020)

    Google Scholar 

  21. Redmon, J.: Darknet: Open Source Neural Networks in C (2013–2016). https://pjreddie.com/darknet/

  22. Roth, K., Pemula, L., Zepeda, J., Schölkopf, B., Brox, T., Gehler, P.V.: Towards Total Recall in Industrial Anomaly Detection. CoRR - Volume abs/2106.08265 (2021). https://arxiv.org/abs/2106.08265

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Déborah Lebert , Jérémy Plouzeau , Jean-Philippe Farrugia , Florence Danglade or Frédéric Merienne .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Lebert, D., Plouzeau, J., Farrugia, JP., Danglade, F., Merienne, F. (2022). Synthetic Data Generation for Surface Defect Detection. In: De Paolis, L.T., Arpaia, P., Sacco, M. (eds) Extended Reality. XR Salento 2022. Lecture Notes in Computer Science, vol 13446. Springer, Cham. https://doi.org/10.1007/978-3-031-15553-6_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-15553-6_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-15552-9

  • Online ISBN: 978-3-031-15553-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics