WDNET-YOLO: Enhanced Deep Learning for Structural Timber Defect Detection to Improve Building Safety and Reliability
Structural timber is an important building material, but surface defects such as cracks and knots seriously affect its load-bearing capacity, dimensional stability, and long-term durability, posing a significant risk to structural safety. Conventional inspection methods are unable to address the issues of multi-scale defect characterization, inter-class confusion, and morphological diversity, thus limiting reliable construction quality assurance. To overcome these challenges, this study proposes WDNET-YOLO: an enhanced deep learning model based on YOLOv8n for high-precision defect detection in structural wood. First, the RepVGG reparameterized backbone utilizes multi-branch training to capture critical defect features (e.g., distributed cracks and dense clusters of knots) across scales. Second, the ECA attention mechanism dynamically suppresses complex wood grain interference and enhances the discriminative feature representation between high-risk defect classes (e.g., cracks vs. knots). Finally, CARAFE up-sampling with adaptive contextual reorganization improves the sensitivity to morphologically variable defects (e.g., fine cracks and resin irregularities). The analysis results show that the mAP50 and mAP50-95 of WDNET-YOLO are improved by 3.7% and 3.5%, respectively, compared to YOLOv8n, while the parameters are increased by only 4.4%. The model provides a powerful solution for automated structural timber inspection, which directly improves building safety and reliability by preventing failures caused by defects, optimizing material utilization, and supporting compliance with building quality standards.
Authors
- Xinyue Xiao
- Chunwei Leng
- Zhenyu Niu
- Weihao Gong
- Lin Sun (ORCID: https://orcid.org/0000-0003-2923-3281)
- Yan Li (ORCID: https://orcid.org/0000-0002-7065-3002)
- Xiaodong Yang (ORCID: https://orcid.org/0009-0003-4638-8039)
- Xiaoxia Lin
- Yingqi Meng
- Junyan Zhang
Institutions
- Shandong University of Science and Technology (CN)
Publication Details
- Journal
- Buildings
- Published
- 2025-06-28
- DOI
- https://doi.org/10.3390/buildings15132281
- Citations
- 2
- Primary Topic
- Infrastructure Maintenance and Monitoring
- Type
- article
- Field-Weighted Citation Impact
- 1.91
Funders
- Texas Space Grant Consortium