Abstract:Surface crack detection in buildings is a critical aspect of ensuring the quality of construction projects. To address the issues of insufficient accuracy in detecting small-scale targets and high-memory usage, which limit the application of existing algorithms on edge devices, a lightweight intelligent crack detection algorithm based on YOLOv11, called YOLOv11-LCS, was proposed. By extensively collecting images of building surface cracks, the BSCRACK dataset was created, the lightweight strategy and multi-scale feature fusion was combined in the algorithm design. It introduces the LDConv module and an additional convolutional operation in the CCFM module, which optimizes both the backbone feature extraction network and the neck feature fusion network, and significantly enhances detection efficiency and accuracy. Furthermore, it employs the parameter-free attention mechanism SimAM to construct the C3k2-SimAM module, which enhances the detection capability for small-scale cracks without increasing additional computational costs. Experimental results show that, YOLOv11-LCS reduces the number of parameters and computational load by 42.2% and 30.2%, respectively, with the number of parameters being only 1.49 M, while the mAP@0.5 is improved to 97.9%. This effectively meets the precision requirements for building surface crack detection, and demonstrates its potential for application on edge devices.