Research Article

Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++

Volume: 3 Number: 2 November 27, 2026

Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++

Abstract

Defects such as warping, delamination and edge distortion significantly compromise the structural integrity, reliability and cost-efficiency of Large-Format Additive Manufacturing (LFAM). Preventing these issues requires real-time, in-situ monitoring systems capable of detecting anomalies during the printing process. This study presents a systematic comparative evaluation of three deep learning segmentation models Mask R-CNN, YOLOv8-Seg, and U-NET++ for automated defect detection in LFAM using a custom-annotated dataset of 731 images. All models successfully converged during training; however, their performance varied across defect classes. YOLOv8-Seg demonstrated strong generalization, particularly excelling in edge distortion detection (F1=0.98), but exhibited lower recall for warping (0.79) and delamination (0.73). Mask R-CNN achieved relatively high precision yet suffered from low recall (≤0.49) across classes, leading to limited overall accuracy (0.42). U-NET++ achieved the most accurate and balanced performance with consistently high precision, recall and F1-scores (≥0.95) and the highest overall accuracy (0.97), while also being the most resource-efficient with minimal memory demand and the fastest inference speed (27.19 FPS). These results underscore the trade-offs between accuracy and computational efficiency, highlighting U-NET++ as the most suitable model for precise, real-time defect segmentation in LFAM, while YOLOv8-Seg offers advantages in rapid learning and object-level detection and Mask R-CNN may require additional data for improved generalization.

Keywords

Supporting Institution

This study was supported by Gaziantep University Scientific Research Projects Coordination Unit under project number MF.DT.22.05.

Project Number

MF.DT.22.05

Ethical Statement

Ethics committee approval was not required for this study because it did not involve human participants, animals, clinical data, or the collection of personal data. The study was conducted using experimentally produced large-format additive manufacturing specimens and machine vision images acquired during the manufacturing process.

Thanks

The authors gratefully acknowledge the support provided by the Scientific Research Projects Coordination Unit (BAPYB) of Gaziantep University.

References

  1. Aladag, M., Tek, E., Akeloglu, M. A., Dubicki, A., Zgłobicka, I., Eyercioglu, O., and Kurzydlowski, K. J. (2026). Thermal Deformation in Non-Planar Large-Scale Additive Manufacturing of ABS: Experimental and Finite Element Analysis. Materials, 19(6), 1064. https://doi.org/10.3390/ma19061064
  2. Ashebir, D. A., Hendlmeier, A., Dunn, M., Arablouei, R., Lomov, S. V., Di Pietro, A., and Nikzad, M. (2024). Detecting Multi-Scale Defects in Material Extrusion Additive Manufacturing of Fiber-Reinforced Thermoplastic Composites: A Review of Challenges and Advanced Non-Destructive Testing Techniques. Polymers, 16(21), 2986. https://doi.org/10.3390/polym16212986
  3. Borish, M., Post, B. K., Roschli, A., Chesser, P. C., Love, L. J., and Gaul, K. T. (2019). Defect Identification and Mitigation Via Visual Inspection in Large-Scale Additive Manufacturing. JOM, 71(3), 893–899. https://doi.org/10.1007/s11837-018-3220-6
  4. Catalucci, S., Thompson, A., Piano, S., Branson, D. T., and Leach, R. (2022). Optical metrology for digital manufacturing: a review. International Journal of Advanced Manufacturing Technology, 120(7–8), 4271–4290. https://doi.org/10.1007/s00170-022-09084-5
  5. Compton, B. G., Post, B. K., Duty, C. E., Love, L., and Kunc, V. (2017). Thermal analysis of additive manufacturing of large-scale thermoplastic polymer composites. Additive Manufacturing, 17, 77–86. https://doi.org/10.1016/j.addma.2017.07.006
  6. Deshpande, S., Venugopal, V., Kumar, M., and Anand, S. (2024). Deep learning-based image segmentation for defect detection in additive manufacturing: An overview. The International Journal of Advanced Manufacturing Technology, 134, 2081–2105. https://doi.org/10.1007/s00170-024-14191-6
  7. Goh, G. D., Wong, K. K., Tan, N., Seet, H. L., and Nai, M. L. S. (2024). Large-format additive manufacturing of polymers: a review of fabrication processes, materials, and design. Virtual and Physical Prototyping, 19(1). https://doi.org/10.1080/17452759.2024.2336160
  8. Hassen, A. A., Blake, S., and Hylton, D. (2025). Defect detection model development for large scale thermoplastic printing. Oak Ridge National Laboratory. https://doi.org/10.2172/2573207

Details

Primary Language

English

Subjects

Mechanical Engineering (Other)

Journal Section

Research Article

Authors

Sinan Keskin *
GAZİANTEP ÜNİVERSİTESİ, MÜHENDİSLİK FAKÜLTESİ, MAKİNE MÜHENDİSLİĞİ BÖLÜMÜ, MAKİNE MÜHENDİSLİĞİ PR. (İNGİLİZCE)
0009-0005-3785-4688
Türkiye

Ömer Eyercioğlu
GAZİANTEP ÜNİVERSİTESİ, MÜHENDİSLİK FAKÜLTESİ, MAKİNE MÜHENDİSLİĞİ BÖLÜMÜ, MAKİNE MÜHENDİSLİĞİ PR. (İNGİLİZCE)
0000-0002-9076-0972
Türkiye

Publication Date

November 27, 2026

Submission Date

August 9, 2026

Acceptance Date

September 29, 2026

Published in Issue

Year 2026 Volume: 3 Number: 2

APA
Keskin, S., & Eyercioğlu, Ö. (2026). Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++. Natural Sciences and Engineering Bulletin, 3(2), 103-114. https://doi.org/10.66754/nase.2014250
AMA
1.Keskin S, Eyercioğlu Ö. Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++. NASE. 2026;3(2):103-114. doi:10.66754/nase.2014250
Chicago
Keskin, Sinan, and Ömer Eyercioğlu. 2026. “Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++”. Natural Sciences and Engineering Bulletin 3 (2): 103-14. https://doi.org/10.66754/nase.2014250.
EndNote
Keskin S, Eyercioğlu Ö (November 27, 2026) Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++. Natural Sciences and Engineering Bulletin 3 2 103–114.
IEEE
[1]S. Keskin and Ö. Eyercioğlu, “Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++”, NASE, vol. 3, no. 2, pp. 103–114, Nov. 2026, doi: 10.66754/nase.2014250.
ISNAD
Keskin, Sinan - Eyercioğlu, Ömer. “Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++”. Natural Sciences and Engineering Bulletin 3/2 (November 27, 2026): 103-114. https://doi.org/10.66754/nase.2014250.
JAMA
1.Keskin S, Eyercioğlu Ö. Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++. NASE. 2026;3:103–114.
MLA
Keskin, Sinan, and Ömer Eyercioğlu. “Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++”. Natural Sciences and Engineering Bulletin, vol. 3, no. 2, Nov. 2026, pp. 103-14, doi:10.66754/nase.2014250.
Vancouver
1.Sinan Keskin, Ömer Eyercioğlu. Real-Time Defect Inspection in Large-Format Additive Manufacturing: A Comparative Study of YOLOv8-Seg, Mask R-CNN, and U-Net++. NASE. 2026 Nov. 27;3(2):103-14. doi:10.66754/nase.2014250