Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Plant Sci.

Sec. Plant Bioinformatics

Volume 16 - 2025 | doi: 10.3389/fpls.2025.1655093

This article is part of the Research TopicInnovative Techniques for Precision Agriculture and Big DataView all 4 articles

Precision citrus segmentation and stem picking point localization using improved YOLOv8n-seg algorithm

Provisionally accepted
Han  LiHan Li1,2*Zirui  YinZirui Yin1,2Zhijiang  ZuoZhijiang Zuo1,2Libo  PanLibo Pan1,2Junfeng  ZhangJunfeng Zhang3
  • 1Jianghan University, State Key Laboratory of Precision Blasting, Wuhan, China
  • 2Jianghan University, Hubei Key Laboratory of Blasting Engineering, Wuhan, China
  • 3Wuhan Academy of Agricultural Sciences, Wuhan, China

The final, formatted version of the article will be published soon.

Due to the small size of citrus stems, their color similarity to the background, and their variable position relative to the fruit, accurately locating picking points using robots in natural environments presents significant challenges. To address this issue, this study proposes a method for segmenting citrus fruits and stems based on an improved YOLOv8n-seg model, combined with geometric constraints for stem matching to achieve accurate localization of picking points. First, all standard convolutions in the model are replaced with GhostConv to reduce the number of model parameters. Furthermore, a convolutional block attention module (CBAM) and a small-object detection layer are introduced to enhance the model's feature representation and segmentation accuracy for small objects. Then, by incorporating the positional relationship between the fruit and the stem, constraints are defined to match the target stem, and an algorithm is designed to determine the optimal picking point. Experimental results show that the improved YOLOv8n-seg model achieves recall rates of 90.91% for fruits and stems, a mean average precision (mAP50) of 94.43%, and an F1-score of 93.51%. The precision rates for fruit and stem segmentation are 96.04% and 97.12%, respectively. The average detection rate of picking points reaches 88.38%, with an average localization time of 373.25 milliseconds under GPU support, demonstrating high real-time performance. Compared with other models, the improved YOLOv8n-seg model shows significantly better performance. This study confirms the reliability and effectiveness of the proposed citrus picking point localization method and lays a technical foundation for the automated harvesting of citrus fruits.

Keywords: Citrus, YOLOv8n-seg, Picking Point Localization, Instance segmentation, Picking robot

Received: 27 Jun 2025; Accepted: 25 Aug 2025.

Copyright: © 2025 Li, Yin, Zuo, Pan and Zhang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Han Li, Jianghan University, State Key Laboratory of Precision Blasting, Wuhan, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.