Abstract:Due to the influence of the complex background of strawberry fruit and branches and leaves as well as light changes, the recognition accuracy of strawberry fruit is low. It affects the efficiency of automated picking. To achieve rapid recognition of strawberry fruit targets in complex environments, an improved GGWL-YOLO mature strawberry recognition model based on YOLO 11 was proposed. Firstly, HGNetV2 network with multi-level feature extraction was introduced, SPPF module with multi-scale pooling technology and C2PSA module with multi-head self-attention and feedforward neural network were added. GhostHGNetV2 network was constructed as the feature extraction backbone network, which was suitable for strawberry fruit detection. Further the fine features of the uncovered part of strawberry fruit was extracted. Secondly, the GFPN network was introduced into the neck network, the upsampling module was improved with DySample, the GDFPN network was constructed to achieve multi-level and cross-scale feature fusion, and it was combined with the fine feature extraction ability of the GhostHGNetV2 network to improve the occlusion problem in strawberry fruit recognition.Then, WIoUv3 was used to improve the bounding box regression loss function, improve the problem of strawberry fruit recognition due to the influence of light, and reduce the influence of low-quality strawberry picture samples. Finally, Lamp method was used for channel pruning and model fine-tuning of the improved overall model to reduce the number of redundant channels and retain key channel information. The test results showed that the precision, mAP@0.5, parameter number and detection speed of the improved GGWL-YOLO model were 92.5%, 94.3%, 3.28×10^6 and 91.5 f/s, respectively. Compared with YOLO v8s, YOLO 11s and RT-DETR-r18 models, the precision was improved by 1.4, 1.2 and 2.4 percentage points, respectively, while the number of parameters was reduced by 70.4%, 65.1% and 83.4%. Moreover, it also had advantages in mean average accuracy and floating point computation. The improved model can quickly and accurately identify strawberry fruits in complex environments, and further promote automatic strawberry picking.