AbstractEarly and effective detection of wind turbine blade (WTB) surface defects can avoid complex and expensive repair problems and serious safety hazards. The traditional target detection methods have the problems of insufficient detection capability, long model inference time and low recognition accuracy for small targets and long strip defects in WTB datasets. This paper proposes a high‐precision model SOD‐YOLO for WTB surface defect detection based on UAVs image analysis of YOLOv5. First, the WTB images are preprocessed by foreground segmentation and Hough transform to build the WTB defect dataset. Then, a micro‐scale detection layer is added to the original YOLOv5, and the K‐means algorithm is used to re‐cluster anchors and add the CBAM attention mechanism to each feature fusion layer to reduce the loss of feature information for small target defects and other defects. In addition, to improve the detection efficiency, the channel pruning algorithm is used to reduce the model size. The experimental results show that the average accuracy (mAP) of the SOD‐YOLO algorithm on the WTB dataset reaches 95.1%, which is 7.82% better than YOLOv5, and the FPS is 28.3% better. Therefore, SOD‐YOLO is able to detect small target defects and other defects quickly and effectively.