现代制造工程 ›› 2025, Vol. 543 ›› Issue (12): 1-10.doi: 10.16731/j.cnki.1671-3133.2025.12.001

• 试验研究 •    下一篇

基于BP-DFO Faster R-CNN的工业产品小样本表面缺陷检测模型

贺永姣1,2, 王林2, 章晓爽1,2, 黎格献1,2, 杜阳1,2   

  1. 1 贵州民族大学数据科学与信息工程学院,贵阳 550025;
    2 贵州民族大学贵州省模式识别与智能系统重点实验室,贵阳 550025
  • 收稿日期:2025-02-20 出版日期:2025-12-18 发布日期:2026-01-06
  • 通讯作者: 王林,博士,教授,硕导,主要研究方向为图像处理与机器视觉。E-mail:wanglin@gzmu.edu.cn
  • 作者简介:贺永姣,硕士研究生,主要研究方向为工业图像缺陷检测。章晓爽,硕士研究生,主要研究方向为面部表情识别。黎格献,硕士研究生,主要研究方向为小样本图像分类。杜阳,硕士研究生,主要研究方向为工业缺陷检测。E-mail:1991424263@qq.com
  • 基金资助:
    *国家自然科学基金项目(62276103);贵州省科技计划项目(黔科合基础-ZK[2022]一般195,黔科合平台人才-ZCKJ[2021]007);贵州省青年科技人才成长项目(黔教合KY字[2021]104);贵州省模式识别与智能系统重点实验室开放课题项目(GZMUKL[2022]KF01,GZMUKL[2022]KF05);贵州民族大学基金科研项目(GZMUZK[2023]YB14,黔教技[2024]063号)

Industrial product surface defect detection model based on BP-DFO Faster R-CNN for few-shot

HE Yongjiao1,2, WANG Lin2, ZHANG Xiaoshuang1,2, LI Gexian1,2, DU Yang1,2   

  1. 1 School of Data Science and Information Engineering,Guizhou Minzu University,Guiyang 550025,China;
    2 Key Laboratory of Pattern Recognition and Intelligent System,Guizhou Minzu University, Guiyang 550025,China
  • Received:2025-02-20 Online:2025-12-18 Published:2026-01-06

摘要: 在现代工业产品的生产中,目标缺陷检测技术面临诸多挑战,如提取的共享特征不平衡、特征通道权重分配不精确和缺陷检测精度较低等问题。针对上述问题,提出一种BP-DFO Faster R-CNN缺陷检测模型。该模型在目标金字塔结构后引入平衡金字塔机制,并在此基础上增加动态特征优化架构。不仅解决了共享特征不平衡的问题,还实现了全局上下文信息和局部细节特征的高效融合,从而克服传统通道注意力机制因忽视局部信息而导致的特征权重分配不准确的问题。最后,对区域生成网络(Region Proposal Network,RPN)进行了改进,在其头部集成轻量级通道优化器,显著增强区域生成网络对不同特征和尺度通道的选择能力,从而优化缺陷检测任务的性能。在NEU-DET、PCB、GC10-DET缺陷数据集上进行对比实验,在5-way 5-shot的训练策略中分别取得了31.0 %、22.1 %和21.8 %的平均精度,在5-way 10-shot的训练策略中分别取得了50.2 %、35.5 %和31.5 %的平均精度,均优于其他对比模型。

关键词: 工业产品, 表面缺陷检测, 平衡金字塔机制, Faster R-CNN, 动态特征优化, 小样本

Abstract: In modern industrial production,object defect detection faced numerous challenges,such as imbalanced shared feature extraction,inaccurate channel weight assignment,and low detection accuracy. To address these issues,a novel defect detection model BP-DFO Faster R-CNN was proposed. The model introduced a balanced feature pyramid mechanism after the feature pyramid network and incorporated a dynamic feature optimization architecture architecture. This design not only alleviated the imbalance in shared features but also enabled effective fusion of global contextual information and local detailed features,thereby overcoming the inaccurate feature weighting caused by traditional channel attention mechanisms that neglected local details. Furthermore,the Region Proposal Network (RPN) was improved by integrating a lightweight channel optimizer into its head,which significantly enhanced the RPN′s ability to select features across different channels and scales,thus optimizing performance in defect detection tasks. Extensive experiments were conducted on the NEU-DET,PCB,and GC10-DET defect datasets.Under the 5-way 5-shot training strategy,the model achieved mean average precisions of 31.0 %,22.1 %,and 21.8 %,respectively. Under the 5-way 10-shot setting,it achieved 50.2 %,35.5 %,and 31.5 %,outperforming all compared models.

Key words: industrial products, surface defect detection, balanced pyramid scheme, Faster R-CNN, dynamic feature optimization, few-shot

中图分类号: 

版权所有 © 《现代制造工程》编辑部 
地址:北京市东城区东四块玉南街28号 邮编:100061 电话:010-67126028 电子信箱:2645173083@qq.com
本系统由北京玛格泰克科技发展有限公司设计开发 技术支持:support@magtech.com.cn