改进YOLOv8的烟盒缺陷检测算法
DOI:
CSTR:
作者:
作者单位:

河北科技大学信息科学与工程学院 石家庄 050018

作者简介:

通讯作者:

中图分类号:

TN9

基金项目:

河北省教育厅青年基金(QN2023185)项目资助


Improved YOLOv8 cigarette box defect detection algorithm
Author:
Affiliation:

School of Information Science and Engineering, Hebei University of Science and Technology,Shijiazhuang 050018, China

Fund Project:

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

    近年来,人们对于烟盒包装质量的要求越来越高,在现代化的生产中,烟盒的生产速度大幅度提升,生产设备也都实现了智能化。但是,对于烟盒的表面质量检测仍然采用人工的方式进行。针对人工烟盒表面缺陷检测容易发生漏检、错检等问题,提出了一种基于改进YOLOv8的烟盒缺陷检测算法。首先在YOLOv8的颈部网络引入了GD机制,提高了模型对于不同层级间的信息融合能力;其次加入了尺度序列特征融合模块,增强了网络对不同尺度信息的提取能力;最后使用RT-DETR的Decoder替换YOLOv8的头部网络,这使得网络模型无需依赖于复杂的NMS后处理步骤,大大简化了检测流程并提高了效率。实验结果表明:改进后的算法模型在自制的烟盒缺陷数据集上与YOLOv8算法相比检测精度提升到了94.6%,检测速度达到了121.4 FPS。并且与其他目标检测算法相比,改进后的算法在检测精度和检测速度方面有一定的优势,更适合应用在烟厂对烟盒表面质量的检测。

    Abstract:

    In recent years, there has been an increasing demand for higher quality cigarette pack packaging. While modern production has significantly increased the speed of cigarette box production and made production equipment more intelligent, surface quality inspection of cigarette boxes still relies on manual methods. Addressing the issues of human error such as missed or incorrect detections in surface defect inspection, a cigarette box defect detection algorithm based on improved YOLOv8 is proposed. Firstly, a Gather-and-Distribute mechanism is introduced into the neck network of YOLOv8 to enhance the model′s fusion capability for information across different hierarchies. Secondly, a scale sequence feature fusion module is incorporated to strengthen the network′s ability to extract information from different scales. Finally, the head network of YOLOv8 is replaced with the Decoder of RT-DETR, eliminating the need for complex post-processing steps such as Non-Maximum Suppression, thereby simplifying the detection process and improving efficiency. Experimental results show that the improved algorithm model achieves a detection accuracy of 94.6% and a detection speed of 121.4 FPS on a self-made cigarette box defect dataset compared to YOLOv8. Moreover, compared with other object detection algorithms, the improved algorithm has certain advantages in terms of detection accuracy and speed, making it more suitable for application in cigarette factories for surface quality inspection of cigarette boxes.

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

王震洲,杨榕,宿景芳.改进YOLOv8的烟盒缺陷检测算法[J].电子测量技术,2024,47(13):110-119

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2024-11-07
  • 出版日期:
文章二维码
×
《电子测量技术》
财务封账不开票通知