Abstract:The generalization performance and detection effect of YOLOv8n on some small targets are not good, and the number of parameters is large during training. In order to better detect the nests and insulators on the transmission line, a dynamic label allocation strategy DynATSS is used to introduce prediction in each iteration to better define the positive and negative samples, and more samples that are predicted to be high-quality can be selected as positive samples, and the prediction is more accurate than the predefined anchor. The original detection head was replaced with the new detection head ODH, which improved the detection accuracy of the model, and the number of parameters was reduced accordingly, and the conflict between the classification and regression tasks introduced by the original coupling head was also effectively resolved. The original loss function C-IoU of the model is replaced by W-IoU, which weakens the punishment of geometric factors when the anchor frame coincides with the target with a high degree of coincidence, and the generalization ability of the model is also improved with less intervention training. The results show that the improved YOLOv8nDOW algorithm improves mAP50 by 1.7% and mAP50-95 by 1.5% compared with the original YOLOv8n model, which meets the accuracy and real-time requirements of inspection of transmission lines.