Research and Implementation of Peach Fruit Detection and Growth Posture Recognition Algorithms
Abstract
1. Introduction
2. Materials and Methods
2.1. Dataset Construction
2.2. Design of a Peach Object Detection Model Based on an Improved YOLOv8 Approach
2.2.1. YOLOv8 Neck Network Enhancements
2.2.2. Integration of Soft Non-Maximum Suppression
2.3. Network Architecture for Peach Posture Recognition
2.3.1. Peach Target Key Feature Construction Method
2.3.2. Peach Target Preprocessing
- (1)
- Initialize the cluster centers for the classes:
- (2)
- Assignment Step (Iteration ): Assign each sample point in the set to the cluster whose center is the closest. Formally, if for all
- (3)
- Update Step: Compute new cluster centers as the centroid of the points in , i.e.,
- (4)
- Convergence Check: If for all , stop; otherwise, set and return to Step 2.
2.3.3. Keypoint Detection Using RTMpose
2.4. Experimental Evaluation Metrics and Platform Configuration
2.4.1. Experimental Evaluation Criteria
2.4.2. Experimental Training Platform and Strategy
2.4.3. Experimental Verification Platform
3. Analysis of Experimental Results
3.1. Ablation Experiment
3.2. Comparative Experiments of Different Network Models
3.3. Peach Keypoint Detection Experiments
3.4. Peach Target Growth Posture Recognition Verification Experiment
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
References
- Zhou, H.; Wang, X.; Au, W.; Kang, H.; Chen, C. Intelligent robots for fruit harvesting: Recent developments and future challenges. Precis. Agric. 2022, 23, 1856–1907. [Google Scholar] [CrossRef]
- Zhang, K.; Lammers, K.; Chu, P.; Li, Z.; Lu, R. Algorithm design and integration for a robotic apple harvesting system. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Kyoto, Japan, 23–27 October 2022. [Google Scholar] [CrossRef]
- Ji, W.; Zhang, T.; Xu, B.; He, G. Apple recognition and picking sequence planning for harvesting robot in a complex environment. J. Agric. Eng. 2024, 55, 1549. [Google Scholar] [CrossRef]
- Bac, C.W.; van Henten, E.J.; Hemming, J.; Edan, Y. Harvesting robots for high-value crops: State-of-the-art review and challenges Ahead. J. Field Robot. 2014, 31, 888–911. [Google Scholar] [CrossRef]
- Ao, J.; Ji, W.; Yu, X.; Ruan, C.; Xu, B. End-effectors for fruit and vegetable harvesting robots: A review of key technologies, challenges, and future prospects. Agronomy 2025, 15, 2650. [Google Scholar] [CrossRef]
- Vasconez, J.P.; Kantor, G.A.; Auat Cheein, F.A. Human–robot interaction in agriculture: A survey and current challenges. Biosyst. Eng. 2019, 179, 35–48. [Google Scholar] [CrossRef]
- Ji, W.; Pan, Y.; Xu, B.; Wang, J. A real-time apple targets detection method for picking robot based on ShufflenetV2-YOLOX. Agriculture 2022, 12, 856. [Google Scholar] [CrossRef]
- Ji, W.; Zhai, K.; Xu, B.; Wu, J. Green apple detection method based on multidimensional feature extraction network model and transformer module. J. Food Prot. 2025, 88, 100397. [Google Scholar] [CrossRef]
- Liu, P.; Yin, H. YOLOv7-Peach: An algorithm for immature small yellow peaches detection in complex natural environments. Sensors 2023, 23, 5096. [Google Scholar] [CrossRef]
- Shi, Y.; Qing, S.; Zhao, L.; Wang, F.; Yuwen, X.; Qu, M. YOLO-Peach: A high-performance lightweight YOLOv8s-based model for accurate recognition and enumeration of peach seedling fruits. Agronomy 2024, 14, 1628. [Google Scholar] [CrossRef]
- Liu, Q.; Lv, J.; Zhang, C. MAE-YOLOv8-based small object detection of green crisp plum in real complex orchard environments. Comput. Electron. Agric. 2024, 226, 109458. [Google Scholar] [CrossRef]
- Chen, Q.; Yin, C.; Guo, Z.; Wu, X.; Wang, J.; Zhou, H. Apple growth status and posture recognition using improved YOLOv7. J. Agric. Eng. 2024, 40, 258–266. [Google Scholar] [CrossRef]
- Kok, E.; Chen, C. Occluded apples orientation estimator based on deep learning model for robotic harvesting. Comput. Electron. Agric. 2024, 219, 108781. [Google Scholar] [CrossRef]
- Li, H.; Shi, Y.; Liu, H.; Wang, W.; Liu, W.; Yang, P. Apple growth direction detection based on improved OpenPosture. J. Chin. Agric. 2022, 34, 34–48. [Google Scholar]
- Xiong, Y.; Peng, C.; Grimstad, L.; From, P.J.; Isler, V. Development and field evaluation of a strawberry harvesting robot with a cable-driven gripper. Comput. Electron. Agric. 2019, 157, 392–402. [Google Scholar] [CrossRef]
- Xu, Z.; Liu, J.; Wang, J.; Cai, L.; Jin, Y.; Zhao, S.; Xie, B. Realtime picking point decision algorithm of trellis grape for high-speed robotic cut-and-catch harvesting. Agronomy 2023, 13, 1618. [Google Scholar] [CrossRef]
- Ji, W.; He, G.; Xu, B.; Zhang, H.; Yu, X. A new picking pattern of a flexible three-fingered end-effector for apple harvesting robot. Agriculture 2024, 14, 102. [Google Scholar] [CrossRef]
- Wang, C.-Y.; Yeh, I.-H.; Liao, H.-Y.M. YOLOv9: Learning what you want to learn using programmable gradient information. arXiv 2024, arXiv:2402.13616. [Google Scholar] [CrossRef]
- Yu, Y.; Zhang, K.; Yang, L.; Zhang, D. Fruit detection for strawberry harvesting robot in non-structural environment based on Mask-RCNN. Comput. Electron. Agric. 2019, 163, 104846. [Google Scholar] [CrossRef]
- Bodla, N.; Singh, B.; Chellappa, R.; Davis, L.S. Soft-NMS: Improving object detection with one line of code. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; p. 1. [Google Scholar] [CrossRef]
- Liu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J. Path aggregation network for instance segmentation. In Proceedings of the EEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018. [Google Scholar] [CrossRef]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the EEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 30 June 2016. [Google Scholar] [CrossRef]
- Lu, P.; Jiang, T.; Li, Y.; Li, X.; Chen, K.; Yang, W. RTMO: Towards high-performance one-stage real-time multi-person posture recognition based on MMPose. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024; p. 1. [Google Scholar] [CrossRef]
- Kang, H.; Zhou, H.; Wang, X.; Chen, C. Real-time fruit recognition and grasping recognition for robotic apple harvesting. Sensors 2020, 20, 5670. [Google Scholar] [CrossRef]
- Huang, J.; Zhu, Z.; Guo, F.; Huang, G. The devil is in the details: Delving into unbiased data processing for human posture recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020. [Google Scholar] [CrossRef]
- Ji, W.; Fang, H.; Xu, B.; Wu, K.; Xie, L. Surface defect and contamination detection in photovoltaic panels based on few-shot data augmentation. Sol. Energy 2026, 303, 114166. [Google Scholar] [CrossRef]
- Zhang, K.; Lammers, K.; Chu, P.; Li, Z.; Lu, R. System design and control of an apple harvesting robot. Mechatronics 2021, 79, 102644. [Google Scholar] [CrossRef]
- Xiong, Y.; Ge, Y.; From, P.J.; Grimstad, L. An autonomous strawberry-harvesting robot: Design, development, integration and field evaluation. J. Field Robot. 2020, 37, 202–224. [Google Scholar] [CrossRef]
- Kumra, S.; Joshi, S.; Sahin, F. Antipodal robotic grasping using generative residual convolutional neural network. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Las Vegas, NV, USA, 24 October 2020–24 January 2021. [Google Scholar] [CrossRef]
- Fu, L.; Feng, Y.; Majeed, Y.; Zhang, X.; Zhang, J.; Karkee, M.; Zhang, Q. Kiwifruit detection in field images using Faster R-CNN with ZFNet. Precis. Agric. 2020, 21, 856–868. [Google Scholar] [CrossRef]













| Method | mAP | Precision | Recall | Model Size (MB) | FPS | GFLOPs |
|---|---|---|---|---|---|---|
| YOLOv8 | 95% | 90.11% | 90.11% | 6.23 | 90 | 8.7 |
| YOLOv8 + AFPN | 97.23% | 97.11% | 93.36% | 7.26 | 85 | 10.5 |
| YOLOv8 + Soft-NMS | 96.30% | 91.34% | 91.81% | 6.23 | 78 | 8.7 |
| YOLOv8 + AFPN + Soft-NMS | 98.01% | 98.62% | 96.3% | 7.26 | 82 | 10.5 |
| Model | mAP | Precision | Recall | Model Size (MB) | FPS | GFLOPs |
|---|---|---|---|---|---|---|
| YOLOv5 | 95.6% | 93.84% | 91.03% | 3.8 | 93 | 4.5 |
| YOLOv7 | 93.17% | 89.95% | 86.9% | 12.45 | 99 | 13.2 |
| YOLOv8 | 95.0% | 90.11% | 90.11% | 6.23 | 90 | 8.7 |
| YOLOv8-Peach | 98.01% | 98.62% | 96.3% | 7.26 | 82 | 10.5 |
| mAP | mAP50 | mAR |
|---|---|---|
| 0.896 | 0.921 | 0.927 |
| Sample Size | Mean Error | Minimum Error | Maximum Error |
|---|---|---|---|
| 30 | 7.23° | 2.6° | 12.1° |
| Experiment | Verification 1 | Verification 2 | Verification 3 |
|---|---|---|---|
| (937, 1092) | (770, 1093) | (1118, 1070) | |
| (772, 855) | (935, 950) | (1069, 932) | |
| (1078, 1320) | (658, 1290) | (1117, 1194) | |
| 2.6° | 10° | 9.1° |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Xie, L.; Ji, W.; Xu, B.; Wu, D.; Ao, J. Research and Implementation of Peach Fruit Detection and Growth Posture Recognition Algorithms. Agriculture 2026, 16, 193. https://doi.org/10.3390/agriculture16020193
Xie L, Ji W, Xu B, Wu D, Ao J. Research and Implementation of Peach Fruit Detection and Growth Posture Recognition Algorithms. Agriculture. 2026; 16(2):193. https://doi.org/10.3390/agriculture16020193
Chicago/Turabian StyleXie, Linjing, Wei Ji, Bo Xu, Donghao Wu, and Jiaxin Ao. 2026. "Research and Implementation of Peach Fruit Detection and Growth Posture Recognition Algorithms" Agriculture 16, no. 2: 193. https://doi.org/10.3390/agriculture16020193
APA StyleXie, L., Ji, W., Xu, B., Wu, D., & Ao, J. (2026). Research and Implementation of Peach Fruit Detection and Growth Posture Recognition Algorithms. Agriculture, 16(2), 193. https://doi.org/10.3390/agriculture16020193

