Detection method for Lycium barbarum L. ripe fruit regions used in the precision vibration harvesting

Authors

  • Naishuo Wei 1. College of Mechanical and Electronic Engineering, Northwest A & F University, Yangling, Shaanxi 712100, China;
  • Shiwei Wen 1. College of Mechanical and Electronic Engineering, Northwest A & F University, Yangling, Shaanxi 712100, China;
  • Guangrui Hu 2. School of Design, Xi’an Technological University, Xi’an 710021, China;
  • Yunlei Fan 1. College of Mechanical and Electronic Engineering, Northwest A & F University, Yangling, Shaanxi 712100, China;
  • Yingkuan Wang 3. Academy of Agricultural Planning and Engineering, Ministry of Agriculture and Rural Affairs, Beijing 100125, China; 4. Chinese Society of Agricultural Engineering, Beijing 100125, China
  • Jun Chen 1. College of Mechanical and Electronic Engineering, Northwest A & F University, Yangling, Shaanxi 712100, China;

Keywords:

L. barbarum, Precision vibration harvesting, Target detection, Embedded device deployment

Abstract

Current Lycium barbarum L. vibration harvesting equipment exhibits low levels of intelligence and precision, often resulting in a trade-off between efficiency and fruit damage. This study proposed a ripe fruit region detection model, YOLO-RFR, specifically for precision vibration harvesting of L. barbarum. First, the ADown downsampling module was introduced to replace part of the conventional convolution layers. Then, the C3k2-AP module, inspired by the asymmetric padding strategy, was designed to replace the C3k2 module. Additionally, the GCHead detection head was constructed using group convolution. Finally, the EMA-Slide Loss function was developed to optimize the classification performance by combining the slide weighting function with Exponential Moving Average (EMA). The experimental results showed that the model achieved precision, recall, and mAP of 93.7%, 92.0%, and 97.0%, respectively, representing improvements of 4.0%, 4.4%, and 2.6% over the baseline. The parameter, floating-point operations (FLOPs), and model size were 1.7 M, 4.1 G, and 3.8 MB, respectively, corresponding to decreases of 34.6%, 34.9%, and 30.9% compared with the baseline. To further validate its practical feasibility, the improved model was deployed on an NVIDIA Jetson AGX Xavier embedded device, achieving an inference speed of 163 fps with TensorRT acceleration. In conclusion, the YOLO-RFR model demonstrated excellent performance in detection accuracy, model lightweighting, and deployment on embedded devices, providing strong technical support for the precision vibration harvesting of L. barbarum.

Keywords: L. barbarum, precision vibration harvesting, target detection, embedded device deployment

DOI: 10.25165/j.ijabe.20261903.10021

Citation: Wei N S, Wen S W, Hu G R, Fan Y L, Wang Y K, Chen J. Detection method for Lycium barbarum L. ripe fruit regions used in the precision vibration harvesting. Int J Agric & Biol Eng, 2026; 19(3): 198–211.

References

[1] Lu Y Y, Guo S, Zhang F, Yan H, Qian D W, Wang H Q, et al. Comparison of functional components and antioxidant activity of Lycium barbarum L. fruits from different regions in China. Molecules, 2019; 24: 2228.

[2] Yu J, Yan Y M, Zhang L T, Mi J, Yu L M, Zhang F F, et al. A comprehensive review of goji berry processing and utilization. Food Science and Nutrion, 2023; 11(12): 7445–7457.

[3] Yu J, Yan Y M, Zhang L T, Mi J, Yu L M, Zhang F F, et al. A comprehensive review of goji berry processing and utilization. Food Science & Nutrition, 2023; 11(12): 7445–7457.

[4] Xiang W J, Wang H W, Tian Y, Sun D W. Effects of salicylic acid combined with gas atmospheric control on postharvest quality and storage stability of wolfberries: Quality attributes and interaction evaluation. Journal of Food Process Engineering, 2021; 44(8): e13764.

[5] Liu Z L, Xie L, Zielinska M, Pan Z, Deng L Z, Zhang J S, et al. Improvement of drying efficiency and quality attributes of blueberries using innovative far-infrared radiation heating assisted pulsed vacuum drying (FIR-PVD). Innovative Food Science & Emerging Technologies, 2022; 77: 102948.

[6] Li Y J, Hu Z Q, Zhang Y P, Wang J, Xu J H. Research progress of technology and equipment for mechanized harvest of wolfberry. J Chin Agric Mech, 2024; 45: 16–21, 35. (in Chinese)

[7] Zhang W Q, Zhang M M, Zhang J X, Li W. Design and experiment of vibrating wolfberry harvester. Transactions of the CSAM, 2018; 49(7): 97–102. (in Chinese)

[8] Chen Q Y, Zhang S X, Wei N S, Fan Y L, Zhang W, Wang Z Y, et al. Optimizing the parameters for the vibration harvesting of Lycium barbarum L. under various excitation modes. Transactions of the CSAE, 2025; 41: 32–42. (in Chinese)

[9] Mei S, Tang D B, Shi Z G, Song Z Y, Tian Z C, Zhou R. Design and test of a Chinese wolfberry harvester using arrayed vibration units. Transactions of the CSAE, 2024; 40(23): 115–125.

[10] Wang Z H, Xun Y, Wang Y K, Yang Q H. Review of smart robots for fruit and vegetable picking in agriculture. Int J Agric Biol Eng, 2022; 15(1): 33–54.

[11] Zhou J G, Wang Y K, Chen J, Luo T Y, Hu G R, Jia J L, et al. Research hotspots and development trends of harvesting robots based on bibliometric analysis and knowledge graphs. Int J Agric Biol Eng, 2024; 17(6): 1–10.

[12] Wen S W, Ge Y H, Wang Y K, Wei N S, Zhou J G, Hu G R, et al. Efficient and comprehensive visual solution for a smart apple harvesting robot in complex settings via multi-class instance segmentation. Int J Agric Biol Eng, 2025; 18(4): 200–215.

[13] Wen S W, Zhang D Y, Wei N S, Ge Y H, Chen J, Huang T L, et al. An improved Yolov11n-based Genet for missing-seed detection and counting in an oblique hook-shaped spoon-type small precision seed metering device. INMATEH Agric Eng, 2025; 77(3): 490–501.

[14] Girshick R, Donahue J, Darrell T, Malik J. Rich feature hierarchies for accurate object detection and semantic segmentation. In: 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus: IEEE, 2014; pp.580–587. doi: 10.48550/arXiv.1311.2524.

[15] Girshick R. Fast R-CNN. In: 2015 IEEE International Conference on Computer Vision (ICCV), Santiago: IEEE, 2015; pp.1440–1448. doi: 10.1109/ICCV.2015.169.

[16] Ren S Q, He K M, Girshick R, Sun J. Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2016; 39(6): 1137–1149.

[17] Liu W, Anguelov D, Erhan D, Szegedy C, Reed S, Fu C Y, et al. SSD: Single shot multiBox detector. In: Computer Vision – ECCV 2016, 2016; 9905: pp.21–37. DOI:10.1007/978-3-319-46448-0_2

[18] Lin T Y, Goyal P, Girshick R, He K M, Dollar P. Focal loss for dense object detection. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2020; 42(2): 318–327.

[19] Duan K W, Bai S, Xie L X, Qi H G, Huang Q M, Tian Q. CenterNet: Keypoint triplets for object detection. In: 2019 IEEE/CVF International Conference on Computer, Seoul: IEEE, 2019; pp.6568–6577. doi: 10.48550/arXiv.1904.08189.

[20] Redmon J, Divvala S, Girshick R, Farhadi A. You Only Look Once: Unified, real-time object detection. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas: IEEE, 2016; pp.779–788. doi: 10.1109/CVPR.2016.91.

[21] Liu Q, Lv J, Zhang C P. MAE-YOLOv8-based small object detection of green crisp plum in real complex orchard environments. Computers and Electronics in Agriculture, 2024; 226: 109458.

[22] Gao F F, Fu L S, Zhang X, Majeed Y, Li R, Karkee M, et al. Multi-class fruit-on-plant detection for apple in the SNAP system using Faster R-CNN. Computers and Electronics in Agriculture, 2020; 176: 105634.

[23] Parvathi S, Selvi S T. Detection of maturity stages of coconuts in complex background using Faster R-CNN model. Biosystems Engineering, 2021; 202: 119–32.

[24] Liu Z F, Abeyrathna R M R D, Sampurno R M, Nakaguchi V M, Ahamed T. Faster-YOLO-AP: A lightweight apple detection algorithm based on improved YOLOv8 with a new efficient PDWConv in orchard. Computers and Electronics in Agriculture, 2024; 223: 109118.

[25] Qin W J, Kang F, Wang Y X, Chen C C Tong S Y. Target detection of Lycium barbarum fruit based on improved YOLOv8 algorithm. Mech Eng Autom, 2024: (6): 24–26, 30.

[26] Wang J N, Tan D Z, Sui L M, Guo J, Wang R W. Wolfberry recognition and picking-point localization technology in natural environments based on improved Yolov8n-Pose-LBD. Computers and Electronics in Agriculture, 2024; 227(Part 1): 109551.

[27] Li C, Lin J Q, Li B Y, Zhang S, Li J. Partition harvesting of a column-comb litchi harvester based on 3D clustering. Computers and Electronics in Agriculture, 2022; 197: 106975.

[28] Chen W B, Liu M C, Zhao C J, Li X X, Wang Y Q. MTD-YOLO: Multi-task deep convolutional neural network for cherry tomato fruit bunch maturity detection. Computers and Electronics in Agriculture, 2024; 216: 108533.

[29] Chen J L, Chen H, Xu F, Lin M N, Zhang D, Zhang L B. Real-time detection of mature table grapes using ESP-YOLO network on embedded platforms. Biosystems Engineering, 2024; 246: 122–134.

[30] Jocher G, Qiu J, Chaurasia A. Ultralytics YOLO, 2024. Available: https://github.com/ultralytics/ultralytics. Accessed on [2024-12-28].

[31] Wang C Y, Yeh I H, Liao H Y M. YOLOv9: Learning what you want to learn using programmable gradient information. In: Computer Vision – ECCV 2024, 2024; 15089: 1–21.

[32] Yang J N, Liu S L, Wu J J, Su X Y, Hai N, Huang X. Pinwheel-shaped convolution and scale-based dynamic loss for infrared small target detection. arXiv Preprint, 2024. doi: 10.48550/arXiv.2412.16986.

[33] Ioannou Y, Robertson D, Cipolla R, Criminisi A. Deep Roots: Improving CNN efficiency with hierarchical filter groups. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu: IEEE, 2016; pp.5977-5986. doi: 10.1109/CVPR.2017.633.

[34] Yu Z P, Huang H B, Chen W J, Su Y X, Liu Y H, Wang X Y. YOLO-FaceV2: A scale and occlusion aware face detector. Pattern Recognition, 2022; 155: 110714.

[35] Chen S T, Zhou F, Gao G, Ge X L, Wang R G. Unleashing breakthroughs in aluminum surface defect detection: Advancing precision with an optimized YOLOv8n model. Digit Signal Process, 2025; 160: 105029.

[36] Morales-Brotons D, Vogels T, Hendrikx H. Exponential moving average of weights in deep learning: Dynamics and benefits. arXiv Preprint, 2024. doi: 10.48550/arXiv.2411.18704.

[37] Wu J, Zhao F Y, Yao G T, Jin Z G. FGA-YOLO: A one-stage and high-precision detector designed for fine-grained aircraft recognition. Neurocomputing, 2025; 618: 129067.

[38] Yang Z Q, Xu K N, Zhao L B, Hu N, Wu J P. PWDE-YOLOv8n: An enhanced approach for surface corrosion detection in aircraft cabin sections. IEEE Transactions on Instrumentation and Measurement, 2025; 74: 1–22.

[39] Karmani S, Sivakaran T, Prasad G, Ali M, Yang W, Tang S. KPCA-CAM: Visual explainability of deep computer vision models using Kernel PCA. In: 2024 IEEE 26th International Workshop on Multimedia Signal Processing (MMSP), West Lafayette: IEEE, 2024; pp.1–5. doi: 10.1109/MMSP61759.2024.10743968.

[40] Wang C Y, Bochkovskiy A, Liao H Y M. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In: 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023; pp.7464–7475. doi: 10.1109/CVPR52729.2023.00721.

[41] Yaseen M. What is YOLOv8: An in-depth exploration of the internal features of the next-generation object detector. arXiv Preprint, 2024. doi: 10.48550/arXiv.2408.15857.

[42] Wang A, Chen H, Liu L H, Chen K, Lin Z J, Han J G, et al. YOLOv10: Real-time end-to-end object detection. arXiv Preprint, 2024. doi: 10.48550/arXiv.2405.14458.

[43] Xiong J T, Lin R, Liu Z, He Z L, Tang L Y, Yang Z G, et al. The recognition of litchi clusters and the calculation of picking point in a nocturnal natural environment. Biosystems Engineering, 2018; 166: 44–57.

[44] Li H P, Li C Y, Li G B, Chen L X. A real-time table grape detection method based on improved YOLOv4-tiny network in complex background. Biosystems Engineering, 2021; 212: 347–359.

[45] Zhao R Z, Zhu Y C, Li Y H. An end-to-end lightweight model for grape and picking point simultaneous detection. Biosystems Engineering, 2022; 223(Part A): 174–188.

Downloads

Published

2026-07-14

How to Cite

(1)
Wei, N.; Wen, S.; Hu, G.; Fan, Y.; Wang, Y.; Chen, J. Detection Method for Lycium Barbarum L. Ripe Fruit Regions Used in the Precision Vibration Harvesting. Int J Agric & Biol Eng 2026, 19, 198–211.

Issue

Section

Information Technology, Sensors and Control Systems