Abstract:In order to ensure the safety and stability of transmission line operation, image defect recognition research based on YOLOv5 is carried out in view of many defects such as cracking, aging, corrosion and breakage that may occur in line inspection. Based on YOLOv5 algorithm and combined with the characteristics of power patrol images, CIOU_Loss is used as the loss function of Bounding box to make it converge faster and better. DIOU_ NMS is selected for NMS processing to improve the recognition accuracy of occluded overlapping targets. At the same time, after classifying the dataset, the network model is trained by freezing some of the network layer weights using the method of "training separately and inferring uniformly". The experimental results show that the YOLOv5 algorithm model can effectively identify the defects of power patrol images.