基于改进YOLOv13和X射线的包装食品内异物智能检测方法
CSTR:
作者:
作者单位:

1广州中医药大学,广东 广州 510006;2广州市疾病预防控制中心(广州市卫生监督所), 广东 广州 510440;3华南农业大学,广东 广州 510642

作者简介:

通讯作者:

张豪(1979—),女,广州市疾病预防控制中心(广州市卫生监督所)教授,硕士。E-mail:wtufrg@21cn.com

中图分类号:

基金项目:

广东省教育厅科研项目计划课题(编号:21GZJY675032);广东省中医药健康服务与产业发展研究中心项目(编号:2025YBA14,2025YBA05);广州市哲学社科规划课题(编号:2024GZGJ272,2023GZGJ64)


Intelligent detection method for foreign objects in packaged foods based on improved YOLOv13 and X-ray
Author:
Affiliation:

1Guangzhou University of Chinese Medicine, Guangzhou, Guangdong 510006, China;2Guangzhou Center for Disease Control and Prevention (Guangzhou Health Supervision Institute), Guangzhou, Guangdong 510440, China;3South China Agricultural University, Guangzhou, Guangdong 510642, China

Fund Project:

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

    目的 针对基于X射线的包装食品异物检测中,图像低频特征占比高、异物与背景灰度差异小导致检测精度低,以及微小异物特征易丢失等问题,提出一种改进的智能化检测方案,解决传统检测方法无法满足自动化生产线实时性与可靠性要求。方法 在包装食品内异物智能化检测系统的基础上,提出一种融合改进YOLOv13模型和X射线的包装食品内异物智能化检测方法。重构核心特征提取模块DC-A2C2F,精准聚焦异物边缘的灰度突变区域,提升异物特征与背景的区分度;在骨干网络中引入多阶特征聚合模块MFAM,缓解微小异物特征稀释问题,保留关键细节信息;设计双路径融合金字塔网络(DFPN)优化颈部结构,实现语义信息与细节信息的均衡匹配,适配不同尺寸异物的检测需求。结果 所提方法在包含金属、玻璃、塑料等多类型异物的平均精度均值>98.50%,相较于YOLOv13模型,漏检率从2.2%降至0.4%,同时保持50帧/s以上的推理速度。结论 改进YOLOv13模型能够精准适配X射线图像的特征特性,所提检测方法兼具高检测精度、低漏检率与实时性,完全满足自动化生产线实时检测需求。

    Abstract:

    Objective To address problems in X-ray-based foreign object detection in packaged foods, including low accuracy caused by the high proportion of low-frequency features in images and small grayscale differences between foreign objects and the background, as well as the loss of micro foreign object features, an improved intelligent detection scheme is proposed to overcome the inability of traditional detection methods to meet the real-time and reliability requirements of automated production lines.Methods Based on the intelligent detection system for foreign objects in packaged foods, this study proposes an intelligent detection method for foreign objects in packaged foods integrating an improved YOLOv13 model and X-ray. The core feature extraction module, DC-A2C2F, is redesigned to precisely focus on regions with sharp gray-level variations along foreign object boundaries, thus enhancing the discriminability between foreign object features and the background. A multi-order feature aggregation module (MFAM) is introduced into the backbone network to mitigate the dilution of micro foreign object features and retain critical detail information. A dual-path fusion pyramid network (DFPN) is designed to optimize the neck structure, achieving balanced matching between semantic and detailed information to accommodate the detection requirements of foreign objects of different sizes.Results The proposed method achieves a mean average precision of over 98.50% for multiple types of foreign objects, including metal, glass, and plastic. Compared with the YOLOv13 model, the proposed method reduces the missed detection rate from 2.2% to 0.4% while maintaining an inference speed of over 50 frames per second.Conclusion The improved YOLOv13 model accurately adapts to the feature characteristics of X-ray images. The proposed detection method combines high detection accuracy, a low missed detection rate, and real-time performance, fully meeting the real-time detection requirements of automated production lines.

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

郭德超,刘子志,张豪,等.基于改进YOLOv13和X射线的包装食品内异物智能检测方法[J].食品与机械,2026,42(2):74-81.
GUO Dechao, LIU Zizhi, ZHANG Hao, et al. Intelligent detection method for foreign objects in packaged foods based on improved YOLOv13 and X-ray[J]. Food & Machinery,2026,42(2):74-81.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-12-03
  • 最后修改日期:2026-02-05
  • 录用日期:
  • 在线发布日期: 2026-04-06
  • 出版日期:
文章二维码
×
《食品与机械》
友情提示
友情提示 一、 近日有不少作者反应我刊官网无法打开,是因为我刊网站正在升级,旧网站仍在百度搜索排名前列。请认准《食品与机械》唯一官方网址:http://www.ifoodmm.com/spyjx/home 唯一官方邮箱:foodmm@ifoodmm.com; 联系电话:0731-85258200,希望广大读者和作者仔细甄别。