基于改进YOLO v11的番茄表面缺陷检测方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

福建省技术创新重点攻关及产业化项目(2023G015)


Improved YOLO v11 Method for Surface Defect Detection of Tomato
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    传统的番茄缺陷检测主要依赖于人工分拣,存在效率低、漏检率高等问题。为此,提出了一种改进的YOLO v11番茄缺陷检测方法TDD-YOLO(Tomato defect detection YOLO),实现对番茄表面白斑、增生、凹陷、裂口、变质5种缺陷的自动检测。首先,融合小波深度可分离卷积模块构建新的HE-Head层,在保持模型轻量化的同时提升模型对小目标的检测能力(如白斑);其次,使用WC3k2模块替换原有C3k2模块,扩大模型在特征提取阶段的感受野,同时使用动态上采样方法取代原有的上采样,实现对模型推理效率的提升和轻量化;最后,使用自适应阈值焦点损失函数加强对样本的关注度,提高识别精度。设计实验验证所提方法性能,实验结果表明本文所提的TDD-YOLO模型番茄表面缺陷整体识别精度为89.0%、召回率为84.9%、F1分数为86.9%、平均精度均值为88.0%,识别效果明显优于现有的YOLO系列模型以及Faster R-CNN和EfficientDet模型。此外,TDD-YOLO模型检测速度为142.89f/s,满足实时检测速度要求,为番茄检测规范化和工业化提供重要技术支撑。

    Abstract:

    Tomatoes are a globally important economic crop with a wide planting area. In order to ensure tomato food safety and improve the economic benefits of tomatoes, accurate surface defect detection and quality grading of tomatoes are necessary. However, traditional tomato defect detection mainly relies on manual sorting during harvesting, which results in low efficiency and high missed detection rate. What’s more, new defects generated during procurement and transportation (such as dents, cracks, etc.) would be ignored. Therefore, an improved YOLO v11 method (Tomato defect detection YOLO, TDD-YOLO) was proposed for surface defect detection of tomatoes automatically, including white spot, hyperplasia, depression, crack, and deterioration. Firstly, a HE-Head layer of the YOLO 11 was constructed by fusing the wavelet depth separable convolution module to detect small targets, such as white spot, while maintaining its lightweight design. Secondly, the WC3k2 module was used to replace the original C3k2 module of YOLOv 11 to expand the receptive field of the model in the feature extraction stage, and a lightweight dynamic upsampling method was used to replace the original upsampling. These two improvements of YOLO v11 were to reduce the number of parameters and improve the realtime performance. Finally, an adaptive threshold focus loss function was used to improve the model’s attention to various classification label samples in response to the diversity and complexity of tomato surface defect types and distributions. Several experiments were carried out to evaluate the performance of the proposed method. The experimental results showed that the proposed TDD-YOLO method effectively improved the detection accuracy while keeping the model parameters basically unchanged. The overall recognition precision was 89.0% and the recall rate was 84.9%, which was increased by 2.9 percentage points and 5.6 percentage points comparing with that of YOLO v11, respectively. In comparative experiments, the proposed model had better detection performance than all published YOLO series models, Faster R-CNN and EfficientDet on detecting tomato surface defects. The proposed method achieved a detection speed of 142.89f/s, meeting the real-time detection speed requirements of industrial production applications. This work can provide important technical support for standardized and industrialized tomato detection and inspection.

    参考文献
    相似文献
    引证文献
引用本文

朱婷婷,滕广,张亚军,倪超,何惠彬.基于改进YOLO v11的番茄表面缺陷检测方法[J].农业机械学报,2025,56(6):546-553. ZHU Tingting, TENG Guang, ZHANG Yajun, NI Chao, HE Huibin. Improved YOLO v11 Method for Surface Defect Detection of Tomato[J]. Transactions of the Chinese Society for Agricultural Machinery,2025,56(6):546-553.

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-01-08
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2025-06-10
  • 出版日期:
文章二维码