Abstract:In order to solve the problem that the traditional object detection algorithm is susceptible to the influence of soil covering, surface damage and environmental factors in potato sprout eye detection, resulting in poor detection effect, an YOLO v8_EGW model was proposed, which realized the fast and accurate detection of potato sprout eyes on the self-made potato data acquisition experimental bench. Firstly, in order to improve the ability to extract bud eye features on the potato surface, the EMA attention mechanism was introduced into the backbone part of YOLO v8. Secondly, the GD mechanism was introduced into the neck network of YOLO v8 and combined with the C2F module to strengthen the information fusion ability of bud eye features and improve the detection ability of bud eye features. Finally, the position loss function was replaced with the WIoU loss function to improve the quality of the marking box and further enhance the detection performancee. The results showed that the precision, recall, mAP@0.5, mAP@0.5:0.95 of the improved eye detection model were 95.8%, 92.7%, 94.8% and 73.0%, respectively. The model size was 40.4MB and operated at a detection speed of 37.03 frames per second. Compared with similar object detection models of YOLO v4, YOLO v5, YOLO v6, YOLO v7 and YOLO v8n, the detection accuracy was 4.5, 3.1, 5.2, 4.7 and 4.1 percentage points higher, respectively, and the detection effect was better than other models. Moreover, it exhibited lower rates of false detections (3.7%) and missed detections (1.5%) compared with other models. These enhancements ensured the model’s capability to detect potato seed bud eyes effectively under diverse conditions, offering theoretical support for the development of intelligent seed cutting machines, which could revolotionize agricultural automation in the near future.