Embedded vision transformers for industrial welding defect detection
Detecting defects in Tungsten Inert Gas (TIG) aluminium welding is crucial for industries such as marine, aerospace and automotive, where weld quality impacts safety and performance. This study investigates the performance of Vision Transformer (ViT) models for detecting welding defects in the aluminium 5083 TIG dataset. In addition, this study evaluates ViTs on embedded Graphics Processing Unit (GPU) boards using benchmarks for resource-constrained devices. Although many studies have explored Machine Learning (ML) or Deep Learning (DL) techniques for welding defect detection, they often overlook performance evaluation metrics, such as inference speed, on embedded hardware. We provide a comparative analysis of ViT models, including Swin Transformers and traditional ViTs, evaluating defect detection performance using metrics like F1-score, precision, recall, accuracy, Frames-Per-Second (FPS), and memory consumption on embedded GPU hardware. Results from the TIG Aluminium 5083 dataset show that the DeiT-Base model achieved an accuracy of 99.83%, outperforming existing models. These results confirm the effectiveness of ViTs for automated welding defect detection on both conventional computers and resource-constrained embedded systems. Finally, we successfully implemented ViT-based models on embedded hardware, showing robust performance even under limited computational resources.
Authors
- Miguel Lopez-Montiel (ORCID: https://orcid.org/0000-0001-5367-9801)
- Víctor H. Diaz-Ramirez (ORCID: https://orcid.org/0000-0002-9331-1777)
- Antonio Contreras Ortiz
- Ricardo Rioda Santiago
Institutions
- Pain Care Labs (United States) (US)
Publication Details
- Published
- 2025-09-16
- DOI
- https://doi.org/10.1117/12.3063965
- Citations
- 1
- Primary Topic
- Welding Techniques and Residual Stresses
- Type
- article
- Field-Weighted Citation Impact
- 0.71
Funders
- Instituto Politécnico Nacional