Affiliation:
1. School of Teachers College for Vocational and Technical Education, Guangxi Normal University, Guilin 541004, China
2. Key Laboratory of AI and Information Processing, Hechi University, Yizhou 546300, China
3. School of Artificial Intelligence and Smart Manufacturing, Hechi University, Yizhou 546300, China
Abstract
Accurate detection of wood surface defects plays a pivotal role in enhancing wood grade sorting precision, maintaining high standards in wood processing quality, and safeguarding forest resources. This paper introduces an efficient and precise approach to detecting wood surface defects, building upon enhancements to the YOLOv8 model, which demonstrates significant performance enhancements in handling multi-scale and small-target defects commonly found in wood. The proposed method incorporates the dilation-wise residual (DWR) module in the trunk and the deformable large kernel attention (DLKA) module in the neck of the YOLOv8 architecture to enhance the network’s capability in extracting and fusing multi-scale defective features. To further improve the detection accuracy of small-target defects, the model replaces all the detector heads of YOLOv8 with dynamic heads and adds an additional small-target dynamic detector head in the shallower layers. Additionally, to facilitate faster and more-efficient regression, the original complete intersection over union (CIoU) loss function of YOLOv8 is replaced with the IoU with minimum points distance (MPDIoU) loss function. Experimental results indicate that compared with the YOLOv8n baseline model, the proposed method improves the mean average precision (mAP) by 5.5%, with enhanced detection accuracy across all seven defect types tested. These findings suggest that the proposed model exhibits a superior ability to detect wood surface defects accurately.
Funder
Science and Technology Planning Project of Guangxi Province, China
the industry-university-research innovation fund projects of China University in 2021
the fund project of the Key Laboratory of AI and Information Processing
Natural Science Foundation Project of Guangxi, China
China University Industry University Research Innovation Fund-New Generation Information Technology Innovation Project
the Scientific Research Project of Hechi University