Application of an Improved Lightweight YOLOv5 Model to Wheat Stripe Rust Detection

Lei Xu,Yongyan Zhao,Pan Liu,Xuyang Ban,Jinling Zhao,Feijie Dai
DOI: https://doi.org/10.1109/agro-geoinformatics59224.2023.10233444
2023-01-01
Abstract:Aiming at the problems that the existing field wheat stripe rust detection model has many network parameters, slow calculation speed, and is difficult to integrate into agricultural UAV equipment, this study designed a lightweight ShuffleNetv2 based YOLOv5s network model, The backbone feature extraction network CSP is replaced by ShuffleNetv2 network, and the Focus slicing layer in the network is removed to avoid multiple slice operations, which greatly reduces the number of calculation parameters of the model. At the same time, the deep separable convolutional DWConv is introduced into the YOLOv5 detection head network to realize the separation of convolutional channels and regions. The Loss function was replaced by EIOU and Focal Loss was introduced to optimize the sample imbalance in the bounding box regression task. In the post-processing stage, Soft-NMS was used to replace NMS, which solved the problem of wheat missing detection caused by violent rejection detection box. These improvements significantly simplified the size of the model, further improved the detection accuracy of wheat stripe rust, and effectively overcame the problem of missing detection of target wheat. The experimental results show that the mAP of the improved YOLOv5s model on the test data set reaches 87.53%, which is better than 86.2% of the initial YOLOv5s network and Faster R-CNN, YOLOv4 and SSD networks. In addition, the size of the improved YOLOv5s model is only 6.7MB, which is significantly reduced from the 14.8MB of the original YOLOv5s model, greatly improving the detection speed of the model for wheat stripe rust, and making it easier to deploy to farmland UAV equipment. This study can provide a method reference for detecting other crop diseases and pests by using lightweight YOLOv5 model.
What problem does this paper attempt to address?