基于改进 YOLOv8n的快递包裹缺陷检测方法研究
DOI:
CSTR:
作者:
作者单位:

东北林业大学土木与交通学院 哈尔滨 150040

作者简介:

通讯作者:

中图分类号:

TN911.73; TP391.4

基金项目:

黑龙江省自然科学基金(LH2021C016)项目资助


Research on an improved YOLOv8n-based method for defect detection in express packages
Author:
Affiliation:

College of Civil Engineering and Transportation, Northeast Forestry University,Harbin 150040, China

Fund Project:

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

    为解决快递包裹缺陷检测中对复杂包裹类型和细节特征的识别能力有限,以及现有模型在精度和实时性方面的不足,提出一种基于改进YOLOv8n的快递包裹缺陷检测算法。首先,将网络中的C2f模块融合频率自适应空洞卷积设计了C2f-FADC模块,在处理多尺度、多频率缺陷检测任务时灵活调整,优化特征提取过程和提高表征能力;其次,引入SimSPPF模块替代原有SPPF模块,简化结构的同时增强多尺度特征融合能力,改善对小尺寸目标的感知效果;最后,将边界框回归损失函数替换为Shape-IoU,以更精准地建模预测框与GT框之间的形状与尺度差异,优化检测定位性能。在自制的包裹缺陷数据集上,改进后的算法检测精度为96.3%,与原算法相比mAP50提高了4.4%,检测速度达到98 帧,综合考量较其他算法具有明显优势,验证了该方法的有效性和优越性。

    Abstract:

    To address the limited recognition capability of complex package types and fine-grained features in package defect detection, as well as the shortcomings in precision and real-time performance of existing models, this paper proposes an improved YOLOv8n-based algorithm for defect detection in express packages. First, the C2f module in the network is integrated with frequency-adaptive dilated convolution (FADC) to design the C2f-FADC module, which dynamically adjusts when handling multi-scale and multi-frequency defect detection tasks, optimizing the feature extraction process and improving the representational ability. Secondly, the SimSPPF module is introduced to replace the original SPPF module, simplifying the structure while enhancing multi-scale feature fusion capability and improving the perception of small-sized targets. Finally, the bounding box regression loss function is replaced with Shape-IoU to more accurately model the shape and scale differences between the predicted and ground-truth boxes, optimizing the detection localization performance. On a self-constructed package defect dataset, the improved algorithm achieved a detection accuracy of 96.3%, with a 4.4% in-crease in mAP50 compared to the original algorithm, and a detection speed of 98 FPS. Considering both precision and speed, the proposed method shows significant advantages over other algorithms, validating its effectiveness and superiority.

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

杨慧敏,高小雯,李瑞涛,王汉霞.基于改进 YOLOv8n的快递包裹缺陷检测方法研究[J].电子测量技术,2026,49(3):66-76

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-03-13
  • 出版日期:
文章二维码

重要通知公告

①《电子测量技术》期刊收款账户变更公告