Gaoyang Liu , Yi Chen , Jun Ye , Yan Jiang , Hongchuan Yu , Jing Tang , Yang Zhao
{"title":"A transformer neural network based framework for steel defect detection under complex scenarios","authors":"Gaoyang Liu , Yi Chen , Jun Ye , Yan Jiang , Hongchuan Yu , Jing Tang , Yang Zhao","doi":"10.1016/j.advengsoft.2025.103872","DOIUrl":null,"url":null,"abstract":"<div><div>Steel defect detection is crucial for guaranteeing the long-term quality and safety of steel structures. With the increasing use of steel structures, there is a pressing need to automatically detect defects in complex scenarios. This paper proposes a transformer neural network-based framework for steel defect detection under complex scenarios. Firstly, a comprehensive dataset of steel defects was collected, and a statistical analysis was conducted to categorize different defect types. The images were then manually labeled. The proposed framework enhances the UNet model by incorporating a transformer encoder (TransUNet) to improve the model's ability to extract defect features in complex environments. A quantitative evaluation of different models was performed on existing datasets, demonstrating that the TransUNet model surpassed other models across multiple evaluation metrics, including Intersection over Union (IoU), F1-score, precision, recall, and Dice coefficient. Secondly, simulations of complex environments for steel defect detection were conducted. Under various lighting and fog conditions, the TransUNet model consistently maintained high segmentation accuracy, with a mean IoU (mIoU) ranging from 87.11 % to 98.46 %, showing minimal variation in performance. Finally, in the verification tests of the proposed framework, the TransUNet model showcased its potential and value in detecting and segmenting defects in steel bridges. The TransUNet model consistently delivered stable segmentation results and excellent performance, whether under ideal experimental conditions or in complex real-world scenarios. The proposed method for segmenting steel defects under complex scenarios using TransUNet holds broad application prospects and high practicality for steel structure inspections. This study opens up a new approach for steel defect detection and safety evaluation under complex scenarios, providing a fundamental basis for the digital twin of steel structures.</div></div>","PeriodicalId":50866,"journal":{"name":"Advances in Engineering Software","volume":"202 ","pages":"Article 103872"},"PeriodicalIF":4.0000,"publicationDate":"2025-01-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advances in Engineering Software","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0965997825000109","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Steel defect detection is crucial for guaranteeing the long-term quality and safety of steel structures. With the increasing use of steel structures, there is a pressing need to automatically detect defects in complex scenarios. This paper proposes a transformer neural network-based framework for steel defect detection under complex scenarios. Firstly, a comprehensive dataset of steel defects was collected, and a statistical analysis was conducted to categorize different defect types. The images were then manually labeled. The proposed framework enhances the UNet model by incorporating a transformer encoder (TransUNet) to improve the model's ability to extract defect features in complex environments. A quantitative evaluation of different models was performed on existing datasets, demonstrating that the TransUNet model surpassed other models across multiple evaluation metrics, including Intersection over Union (IoU), F1-score, precision, recall, and Dice coefficient. Secondly, simulations of complex environments for steel defect detection were conducted. Under various lighting and fog conditions, the TransUNet model consistently maintained high segmentation accuracy, with a mean IoU (mIoU) ranging from 87.11 % to 98.46 %, showing minimal variation in performance. Finally, in the verification tests of the proposed framework, the TransUNet model showcased its potential and value in detecting and segmenting defects in steel bridges. The TransUNet model consistently delivered stable segmentation results and excellent performance, whether under ideal experimental conditions or in complex real-world scenarios. The proposed method for segmenting steel defects under complex scenarios using TransUNet holds broad application prospects and high practicality for steel structure inspections. This study opens up a new approach for steel defect detection and safety evaluation under complex scenarios, providing a fundamental basis for the digital twin of steel structures.
期刊介绍:
The objective of this journal is to communicate recent and projected advances in computer-based engineering techniques. The fields covered include mechanical, aerospace, civil and environmental engineering, with an emphasis on research and development leading to practical problem-solving.
The scope of the journal includes:
• Innovative computational strategies and numerical algorithms for large-scale engineering problems
• Analysis and simulation techniques and systems
• Model and mesh generation
• Control of the accuracy, stability and efficiency of computational process
• Exploitation of new computing environments (eg distributed hetergeneous and collaborative computing)
• Advanced visualization techniques, virtual environments and prototyping
• Applications of AI, knowledge-based systems, computational intelligence, including fuzzy logic, neural networks and evolutionary computations
• Application of object-oriented technology to engineering problems
• Intelligent human computer interfaces
• Design automation, multidisciplinary design and optimization
• CAD, CAE and integrated process and product development systems
• Quality and reliability.