Advanced Textile Technology ›› 2022, Vol. 30 ›› Issue (2): 48-56.DOI: 10.19398/j.att.202106018

• Testing and Analysi • Previous Articles     Next Articles

A method for fabric defect detection based on improved cascade R-CNN

XU Shengbao1a, ZHENG Liaomo2,3(), YUAN Decheng1b   

  1. 1a. College of Computer Science and Technology;1b. College of Information Engineering, ShenyangUniversity of Chemical Technology, Shenyang 110142, China
    2. Shenyang Institute of ComputingTechnology, Chinese Academy of Sciences, Shenyang 110168, China
    3. Shenyang CASNCTechnology Co., Ltd., Shenyang 110168, China
  • Received:2021-06-07 Online:2022-03-10 Published:2021-08-03
  • Contact: ZHENG Liaomo

基于改进级联R-CNN的面料疵点检测方法

许胜宝1a, 郑飂默2,3(), 袁德成1b   

  1. 1.沈阳化工大学,a.计算机科学与技术学院;b.信息工程学院,沈阳 110142
    2.中国科学院沈阳计算技术研究所,沈阳 110168
    3.沈阳中科数控技术股份有限公司,沈阳 110168
  • 通讯作者: 郑飂默
  • 作者简介:许胜宝(1993-),男,辽宁丹东人,硕士研究生,主要从事计算机视觉方面的研究。
  • 基金资助:
    国家重点研发计划“智能机器人专项”项目(2018YFB1308803)

Abstract:

To solve the difficult detection problem due to the uneven distribution of different fabric defects, extreme aspect ratios existing in some defects, and a large number of small targets, a method for fabric defect detection based on improved cascade R-CNN was proposed. The difficult examples were mined online in R-CNN part to strengthen small target training. To address the issue of the extreme aspect ratio of fabric defects, the traditional square volume in the feature extraction network was replaced by deformable convolution v2. The scale of the bounding box was redesigned according to the characteristics of the fabric. Finally, the complete intersection over union loss was adopted as the bounding box regression loss, and a more accurate target bounding box was obtained. The experimental results indicated that the improved model was more accurate in predicting the bounding box than that before improvement, and it achieved a better effect on small target detection. The accuracy was improved by 3.57%, and the average accuracy was improved by 6.45%. Therefore, it can better meet the requirements of fabric defect detection.

Key words: cascade R-CNN, fabric defect, detection, deformable convolution v2, online difficult example mining, complete intersection over union loss

摘要:

由于布匹疵点种类分布不均,部分疵点具有极端的宽高比,而且小目标较多,导致检测难度大,因此提出一种改进级联R-CNN的布匹疵点检测方法。针对小目标问题,在R-CNN部分采用在线难例挖掘,加强对小目标的训练;针对布匹疵点极端的长宽比,在特征提取网络中采用了可变形卷积v2来代替传统的正方形卷积,并结合布匹特征重新设计边界框比例。最后采用完全交并比损失作为边界框回归损失,获取更精确的目标边界框。结果表明:对比改进前的模型,改进后的模型预测边界框更加精确,对小目标的疵点检测效果更好,在准确率上提升了3.57%,平均精确度均值提升了6.45%,可以更好地满足面料疵点的检测需求。

关键词: 级联R-CNN, 面料疵点, 检测, 可变形卷积v2, 在线难例挖掘, 完全交并比损失

CLC Number: