浙江农业科学 ›› 2025, Vol. 66 ›› Issue (7): 1653-1658.DOI: 10.16178/j.issn.0528-9017.20240391

• 果树与蔬菜 • 上一篇    下一篇

基于Yolovs的柑橘冠层果实目标检测的研究

管炳华1(), 李永杰2,*()   

  1. 1.临海市春树水果专业合作社,浙江 临海 317000
    2.临海市特产技术推广总站,浙江 临海 317000
  • 收稿日期:2024-05-15 出版日期:2025-07-11 发布日期:2025-07-28
  • 通讯作者: 李永杰,硕士,E-mail:lyonjie@sina.com
  • 作者简介:管炳华,农艺师,E-mail:research2046@163.com
  • 基金资助:
    浙江省果品产业技术项目(2022-2024)

Study on identification and detection of citrus fruit based on Yolovs

GUAN Binghua1(), LI Yongjie2,*()   

  1. 1. Chunshu Fruit Professional Cooperative in Linhai City, Linhai 317000, Zhejiang
    2. Station of Popularizing Speciality Technology in Linhai City, Linhai 317000, Zhejiang
  • Received:2024-05-15 Online:2025-07-11 Published:2025-07-28

摘要:

本研究提出基于自然状态下单侧完整树冠柑橘果实的图像制作数据集,建立Yolo检测模型,为柑橘果实的识别、定位提供理论和实践依据。柑橘进入果实转色期后,利用相机于宫川温州蜜柑果园随机采集单侧树冠的树体照片,单侧树冠的全部果实为一张图片,共采集800张图像,通过Mosaic数据增强手段扩增至2 000张。使用Yolov5、Yolov7和Yolov8 建立柑橘果实的目标检测模型。不同Yolo模型的训练损失值(loss)均在前15 轮快速下降,之后Yolov5和Yolov7 的loss值下降快速收敛,Yolov8 的loss值则呈缓慢降低的趋势。Yolov5和Yolov8的平均精确度(mAP)分别在训练49和29轮次达到最优值,分别为91.9%和92.5%。Yolov7的mAP呈波动式增长至300轮次达到最大,为91.2%。在未标注的树冠组和结果枝组的实例图上分别进行模型预测性能评估,Yolov7模型的综合预测表现最优。利用自然状态下柑橘树冠图像建立的果实目标检测模型,具备良好的识别能力,本研究为目标检测技术在复杂环境下果实的实时检测提供重要参考。

关键词: 目标检测, 宫川温州蜜柑, Yolo模型

Abstract:

In this study, Yolo detection models were established based on the image production dataset of citrus fruits with unilateral complete canopy in natural state to provide theoretical and practical basis for the identification and localization of citrus fruits. After the citrus entered the fruit turning color period, the tree photos of unilateral canopy were collected randomly in Citrus unshiu Marc.cv. Miyagawa-wase orchard using camera, with a total of 800 images collected. Mosaic data augmentation techniques were used to expand to 2 000 images. The Yolov5, Yolov7, and Yolov8 algorithms were used to build target detection models for citrus fruits, respectively. The training loss values (loss) of different Yolo models all decreased rapidly in the first 15 rounds, followed by rapid convergence of the loss values of Yolov5 and Yolov7, while the loss value of Yolov8 showed a slow decreasing trend, the mean accuracy (mAP) of Yolov5 and Yolov8 reached the highest value of 91.9% and 92.5% in 49 and 29 iterations, respectively. But the mAP of Yolov7 fluctuated and increased to 300 rounds, reaching a maximum of 91.2%. The model prediction performance was evaluated on the plots of the unlabeled canopy group and fruit-bearing shoots group, respectively, with the Yolov7 model exhibiting the best comprehensive predictive performance. The fruit target detection model established with citrus canopy images in natural state has excellent recognition ability, and this study provides an important reference for the real-time detection of fruits in complex environments with target detection technology.

Key words: target detection, Citrus unshiu Marc.cv. Miyagawa-wase, Yolo model

中图分类号: