Applied Sciences (Oct 2024)
CL-YOLOv8: Crack Detection Algorithm for Fair-Faced Walls Based on Deep Learning
Abstract
Cracks pose a critical challenge in the preservation of historical buildings worldwide, particularly in fair-faced walls, where timely and accurate detection is essential to prevent further degradation. Traditional image processing methods have proven inadequate for effectively detecting building cracks. Despite global advancements in deep learning, crack detection under diverse environmental and lighting conditions remains a significant technical hurdle, as highlighted by recent international studies. To address this challenge, we propose an enhanced crack detection algorithm, CL-YOLOv8 (ConvNeXt V2-LSKA-YOLOv8). By integrating the well-established ConvNeXt V2 model as the backbone network into YOLOv8, the algorithm benefits from advanced feature extraction techniques, leading to a superior detection accuracy. This choice leverages ConvNeXt V2’s recognized strengths, providing a robust foundation for improving the overall model performance. Additionally, by introducing the LSKA (Large Separable Kernel Attention) mechanism into the SPPF structure, the feature receptive field is enlarged and feature correlations are strengthened, further enhancing crack detection accuracy in diverse environments. This study also contributes to the field by significantly expanding the dataset for fair-faced wall crack detection, increasing its size sevenfold through data augmentation and the inclusion of additional data. Our experimental results demonstrate that CL-YOLOv8 outperforms mainstream algorithms such as Faster R-CNN, YOLOv5s, YOLOv7-tiny, SSD, and various YOLOv8n/s/m/l/x models. CL-YOLOv8 achieves an accuracy of 85.3%, a recall rate of 83.2%, and a mean average precision (mAP) of 83.7%. Compared to the YOLOv8n base model, CL-YOLOv8 shows improvements of 0.9%, 2.3%, and 3.9% in accuracy, recall rate, and mAP, respectively. These results underscore the effectiveness and superiority of CL-YOLOv8 in crack detection, positioning it as a valuable tool in the global effort to preserve architectural heritage.
Keywords