基于改进RT-DETR的饼干包装外观缺陷快速检测
CSTR:
作者:
作者单位:

江西理工大学机电工程学院,江西 赣州 341000

作者简介:

通讯作者:

古莹奎(1976—),男,江西理工大学教授,博士。E-mail: guyingkui@163.com

中图分类号:

基金项目:

国家自然科学基金资助(编号:61963018);江西省自然科学重点基金资助(编号:20212ACB202004)


Rapid detection method of biscuit packaging appearance defects based on improved RT-DETR
Author:
Affiliation:

School of Mechanical and Electrical Engineering, Jiangxi University of Science and Technology, Ganzhou, Jiangxi 341000, China

Fund Project:

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

    目的 针对现有食品包装缺陷实时检测模型参数量庞大和计算复杂、在终端设备上部署困难等问题,提出一种基于改进RT-DETR的轻量化模型SGHS-DETR。方法 采用超轻量化网络StarNet作为特征提取主干以降低模型参数,引入基于梯度路径规划的高效聚合模块GELAN进行特征融合并保留语义和细节特征;采用基于小波分解的HWD轻量级下采样模块减少特征信息损失,并替换损失函数为ShapeIoU进一步提升模型的检测精度。结果 SGHS-DETR模型在饼干包装数据集上的平均检测精度达到92.6%,较基准模型参数量和计算复杂度分别降低了65.5%和72.1%,同时检测速度提升了74.4%。结论 SGHS-DETR模型能够快速有效地检测出饼干包装外观缺陷。

    Abstract:

    Objective To address the problems of a large number of parameters and complex calculation of the current real-time detection models for food packaging defects and their difficult deployment on terminal equipment, this study proposes a lightweight model SGHS-DETR based on improved real-time detection transformer (RT-DETR).Methods To reduce model parameters, the ultra-lightweight network StarNet is employed as the feature extraction backbone. Additionally, GELAN, an efficient aggregation module based on gradient path planning, is introduced for feature fusion and preservation of semantic and detail features. Furthermore, the lightweight Haar wavelet downsampling (HWD) module based on wavelet decomposition is adopted to minimize information loss in features. Moreover, ShapeIoU replaces the loss function to further enhance detection accuracy.Results On the biscuit packaging dataset, the average detection accuracy of the SGHS-DETR model reaches 92.6%. Compared to the baseline model, this approach reduces the number of parameters and computational complexity by 65.5% and 72.1%, respectively and also increases detection speed by 74.4%.Conclusion The SGHS-DETR model can rapidly and effectively detect appearance defects in biscuit packaging.

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

古莹奎,叶彪彪,郭明健,等.基于改进RT-DETR的饼干包装外观缺陷快速检测[J].食品与机械,2025,(2):234-241.
GU Yingkui, YE Biaobiao, GUO Mingjian, et al. Rapid detection method of biscuit packaging appearance defects based on improved RT-DETR[J]. Food & Machinery,2025,(2):234-241.

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