Precise and efficient weed detection and removal can be expected to enhance crop growth for the high yields in modern agriculture. It is often required for the high identification speed and accuracy to distinguish sugar beet seedlings from weeds in complex field environments. In this study, a detection model was proposed using an improved YOLO11n architecture—YOLO11-RFL (YOLO11 with Reparametrized Ghost-ELAN, Feature-Fused-Pyramid-Neck, and Lightweight GN head). Firstly, a reparametrized Ghost-ELAN (RG-ELAN) module was used to replace YOLO11n's C3k2 component, according to the inspiration from GhostNet. Reparameterization techniques were employed at module branches to enhance feature extraction with less computational load. Secondly, the Rethinking Features-Fused-Pyramid-Neck (RFPN) framework was proposed to refine the Neck network. Real-time performance and efficiency were enhanced to avoid feature misalignment in multi-scale object detection. Thirdly, GroupNorm was employed to refine the convolutional layer in the detection head. The Lightweight Shared Convolutional Separator GN Detection Head (LSCSGND) was designed to enhance small object localization and classification, thus enabling more accurate weed detection. Finally, a knowledge distillation (teacher-student model) framework was introduced using a feature-based Channel-Wise Knowledge Distillation (CWD). Synergistic optimization was also achieved in the computational efficiency and accuracy for YOLO11-RFL. Experimental analysis was also conducted on the public LincolnBeet dataset. As such, YOLO11-RFL was achieved in the high network performance, compared with the mainstream YOLO models. The precision and recall reached 80.7% and 74.9%, respectively, compared with the rest of YOLO11n. The mean average precision (mAP) at 0.5(mAP0.5) and 0.5-0.95(mAP0.5-0.95) was 80.7% and 56.9%, respectively. The performance of YOLO11-RFL was evaluated on the PDT and CWC datasets. The mAP0.5 was improved by 0.7 and 0.1 percentage points over YOLO11n, respectively, indicating the robustness under diverse environments. Only 2.03 million parameters were required for 5.4 G of computational resources, which was reduced by 21.3% and 14.3%, respectively, compared with the YOLO11n, indicating excellent engineering deployment. Field deployment and performance tests were conducted to validate the inference efficiency and deployment of the YOLO11-RFL model at an experimental base. A real-time detection frame rate of 107.50 frames per second was achieved in a TensorRT inference deployment, indicating the outstanding real-time inference performance and high computational efficiency in practical settings. Additionally, 296 real-world test samples were randomly collected from multiple representative areas in the experimental base. The high performance of the detection was achieved in the baseline model YOLO11n, with an mAP0.5 of 80.4% on the test set. Whereas the YOLO11-RFL model improved the accuracy to 82.1% in field environments. Furthermore, visualization analysis of real-world images confirmed that the YOLO11-RFL model effectively mitigated accuracy degradation and object omission under environmental complexity. This finding can provide technical support for the precise identification and efficient control of weeds in sugar beet fields. The significant implications can also help advance intelligent agricultural production.
- Article type
- Year
- Co-author
Precise and rapid detection of the grape fruit and leaf diseases is of vital importance to the stable development of the grape industry. The growth environment of the grapes is also dominated by various highly complex factors, such as the climate and soil. Meanwhile, there are the numerous types of the diseases, with the complex and interwoven symptoms. However, traditional detection cannot fully meet the requirements to distinguish different diseases, due mainly to the frequent misdetections and missed detections, thus leading to the low yield and quality of grapes. In this study, a novel model was proposed to detect the grape fruit and leaf disease using the improved YOLO11n - RLSL-YOLO11n. Four common and highly harmful diseases were taken as the grape botrytis cinerea, downy mildew, powdery mildew and fruit cracking. According to the efficient detection of the YOLO series algorithms, the RLSL-YOLO11 model was achieved in the better performance after a series of the improvements. Firstly, the RepConv convolution module was introduced into the backbone network. A multi-scale fusion backbone network, RHGNetv2 was established using the HGNetv2 architecture. The performance of the improved model was enhanced to capture the disease features at different scales. After that, the disease features were more comprehensively perceived to effectively reduce the number of parameters and computational complexity of the lightweight model after optimization on the network structure. Secondly, an SPPF (spatial pyramid pooling - fast) module was obtained to further enhance the feature extraction of the improved model using the LSKA (large separable kernel attention) attention mechanism. The LSPF module was then introduced the large-scale separable convolution and attention mechanism, in order to focus more on the feature extraction of the disease area. At the same time, the features of the diseases were recognized and distinguished in the complex backgrounds, in order to effectively reduce the background interference. Furthermore, the Slim Neck architecture was adopted to optimize the Neck feature fusion network neck of the YOLO11n model. The feature fusion path was simplified to reduce the redundant calculations. A high recognition accuracy rate was maintained to further reduce the computational complexity for the operational efficiency of the improved model. Finally, a lightweight shared convolution separator batch normalized detection head (LSCSBND) was designed to further enhance the lightweight degree of the model. The detection head was effectively reduced the number of parameters and computational complexity. The shared convolution kernels and batch normalization were simultaneously improved to locate and then extract multi-scale disease features. A dataset was constructed to verify the performance of the RLSL-YOLO11 model. Specifically, 2 449 original images were contained in the four kinds of grape fruit and leaf diseases. The RLSL-YOLO11 model was achieved in the accuracy rate, recall rate, mAP0.5 and mAP0.5-0.95 of 82.8%, 76.1%, 83.1% and 52.0%, respectively. The mAP0.5 and mAP0.5-0.95 of YOLO11n were improved by 1.9 and 6.0 percentage points, respectively, compared with the baseline model. At the same time, the number of model parameters, computational complexity and model weights were reduced by 12.0%, 14.2% and 8.9% respectively. This finding can provide a new solution to the precise detection of the grape fruit and leaf diseases. Strong support can also offer for the lightweight deployment and practical application of the disease detection in modern agriculture.
京公网安备11010802044758号