家用燃气表外观缺陷的改进 ViT+FastFlow检测方法研究
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP391. 4

基金项目:

广东省市场监督管理局科技项目(2022CJ04)资助


Research on the improved ViT+FastFlow detection method for appearance defects of domestic gas meters
Author:
Affiliation:

Fund Project:

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

    外观质量是家用燃气表(DGM)国家强制检定项目之一,针对 DGM 外观质量检定中匮乏缺陷样本使基于有监督学习检 测方法难以泛化到实际应用场景问题,本文研究 DGM 外观缺陷无监督检测方法,引入 Vision Transformer ( ViT) 改进版 EfficientFormerV2-l 提取正常样本特征,融合底层和高层特征图,并通过二维标准化流 FastFlow 将正常特征图映射到标准高斯分 布,外观缺陷因离散落在分布以外使异常得分相比正常样本更高,通过设置自适应阈值识别并定位 DGM 外观缺陷。 实验采集 DGM 正常样本、真实缺陷样本、合成缺陷样本作为数据集并优化检测模型参数,优化后检测模型在图像级别指标 AUROC 达 99. 77%,在像素级别指标 AUPRO 达 96. 3%,每秒可检测 4 张以上 DGM 图像,表明本文方法能准确高效识别与定位 DGM 外观 缺陷。

    Abstract:

    Appearance quality is one of the national mandatory verification for domestic gas meters (DGM). In view of the lack of defect samples in the appearance quality verification of DGM, which makes the detection method based on supervised learning difficult to generalize to the actual application scenario. This paper studies the unsupervised detection method of DGM appearance defects. EfficientFormerV2-l, the improved Vision Transformer (ViT), is introduced to extract normal sample features, fuse the bottom and highlevel feature maps, and map the normal features to the standard Gaussian distribution using two-dimensional normalizing flow called FastFlow. The appearance defects are scattered outside the distribution so that the abnormal score is higher than the normal sample. By setting an adaptive threshold, the DGM appearance defects are identified and located. The experiment collects DGM normal samples, real defect samples, synthetic defect samples as data sets and optimizes the detection model parameters. The optimized detection model achieves 99. 77% AUROC at image level indicators, 96. 3% AUPRO at pixel level indicators, and can detect more than 4 DGM images per second, indicating that the method in this paper can accurately and efficiently identify and locate DGM appearance defects.

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

高泽铭,刘桂雄,陈国宇.家用燃气表外观缺陷的改进 ViT+FastFlow检测方法研究[J].电子测量与仪器学报,2023,37(10):89-96

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2023-12-21
  • 出版日期: