Abstract:In order to achieve accurate detection of cherry blossom targets in the facility environment, a model CEG-YOLO for cherry blossom target detection in the facility environment based on YOLO v8 was proposed. Firstly, the structure of integration of cross-stage partial networks and partial convolution (CSPPC) structure was introduced to replace the C2f module in the Backbone and Neck networks to enhance the feature extraction capability of the network, and at the same time, the computational and parametric quantities of the model were reduced significantly. Secondly, a lightweight efficient channel attention (ECA) was added before the SPPF module, which enabled the network to further enhance the characteristics extraction and improve the detection accuracy of the model. Finally, the Conv module in Neck was replaced with the grouped spatial convolution (GSConv) module, which made the number of parameters and computation of the model further reduce. The experimental results showed that the accuracy of the CEG-YOLO model was 89.8%, the recall was 91.3%, the mAP was 94.8%, the number of parameters was 2.03×106, and the computational cost was 5.8×109. Compared with the original YOLO v8 model, the accuracy, recall, and mAP of the model was improved by 1.6, 1.9, and 1.8 percentage points, respectively, and the number of parameters and computational were decreased by 32.56% and 28.40%. Compared with the YOLO v3, YOLO v5, YOLO v7, YOLO v9, YOLO v10, and YOLO 11 models, the mAP of the CEG-YOLO model was increased by 7.7, 0.7, 1.8, 2.1, 3.1, and 1.7 percentage points, and the number of parameters and computation was reduced significantly. The CEG-YOLO model proposed was not only able to accurately detect cherry blossoms in facility environments, but also possessed low computational overheads, which was suitable for deployment on the embedded devices of cherry pollination robots, which provided feasible visual support for realizing intelligent pollination of facility cherries.