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

ORIGINAL RESEARCH article

Front. Plant Sci.

Sec. Technical Advances in Plant Science

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

Cherry-Net:Real-time segmentation algorithm of cherry maturity based on improved PIDNet

Provisionally accepted
Jie  CuiJie Cui1,2,3Lilian  ZhangLilian Zhang1,2,3Lutao  GaoLutao Gao1,2,3Chunhui  BaiChunhui Bai1,2,3Linnan  YangLinnan Yang1,2,3*
  • 1Yunnan Agricultural University, Kunming, China
  • 2Yunnan Engineering Technology Research Center of Agricultural Big Data, Kunming, China
  • 3Yunnan Engineering Research Center for Big Data Intelligent Information Processing of Green Agricultural Products, Kunming, China

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

Accurate identification of cherry maturity and precise detection of harvestable cherry contours are key technologies for cherry-picking robots. To address this challenge, this study proposes a machine vision approach based on the PIDNet real-time semantic segmentation model.The proposed method enables precise pixel-level segmentation and maturity classification, enhancing its applicability in practical harvesting scenarios. To improve model efficiency, redundant loss functions and residual blocks were removed. A lightweight SwiftFormer-XS was adopted as the backbone network, significantly reducing model complexity and improving inference speed. Furthermore, a Swift Rep-parameterized Hybrid(SwiftRep-Hybrid) module is introduced, combining local feature extraction from convolution with global context modeling from Transformers. This module enhances the model's ability to capture comprehensive feature information in complex agricultural environments. In addition, a Light Fusion Enhance(LFE) module is designed, incorporating a bidirectional enhancement mechanism and bilinear interpolation to reinforce image features. This design effectively addresses challenges such as occlusion, blurriness, and lighting variations. A post-processing module was also introduced to refine class determination and visualize maturity classification results, facilitating deployment on robotic harvesting platforms. Experimental results show that the proposed model achieved an MIoU of over 72.2% and a pixel accuracy(PA) of 99.82%, outperforming state-of-the-art real-time segmentation models such as PIDNet, DDRNet, and Fast-SCNN. While maintaining high inference speed and low model complexity.The proposed approach provides a lightweight, accurate, and efficient solution for real-time semantic segmentation in cherry-picking robotics. It demonstrates strong potential for deployment in intelligent harvesting systems and contributes to the advancement of precision agriculture technologies.

Keywords: cherry, ripeness identification, Real-time semantic segmentation, Lightweight Segmentation model, Smart agricultural

Received: 07 Apr 2025; Accepted: 07 Aug 2025.

Copyright: © 2025 Cui, Zhang, Gao, Bai and Yang. 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: Linnan Yang, Yunnan Agricultural University, Kunming, 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.