IECAU-Net: A Wood Defects Image Segmentation Network Based on Improved Attention U-Net and Attention Mechanism
Keywords:
Surface crack detection of sawn timber, Deep Learning, Semantic segmentation, U-NetAbstract
Saw wood cracks are defects that affect the appearance and mechanical strength of sawn wood. Crack defects in the surface of sawn wood can be readily detected. Decisions regarding the presence and severity of such defects can affect the utilization rate of sawn timber. Due to the heavy workload, low efficiency, and low accuracy of manual inspection, traditional machine learning methods have strong specialization, complex methods, and high costs. By studying the semantic segmentation model of surface crack defects in sawn timber based on deep learning, the optimal model for segmentation and detection of surface cracks in sawn timber was established. The improved Attention U-Net model encoding stage was introduced into CBAM, and AdamW optimization was used instead of SGD and Adam to achieve better crack semantic segmentation results. The ECA module was introduced in the skip connection part, and the weighted fusion multi loss function was used instead of the original cross entropy loss function. The positions of the two modules were replaced to improve the accuracy of semantic segmentation of surface cracks in sawn timber. Through comparative experiments, the improved model also achieved higher scores in semantic segmentation indicators for surface cracks in sawn timber compared to other models.