Fabric defect detection based on improved cross-scene Beetle global search algorithm

被引:0
作者
Li, Yang [1 ]
Zhang, Yongchao [1 ,2 ]
Peng, Laihu [2 ]
Hu, Xudong [2 ]
Yuan, Yanhong [2 ]
机构
[1] School of Automation, Zhejiang Mechanical and Electrical Vocational and Technical College, Zhejiang, Hangzhou
[2] Key Laboratory of Modern Textile Machinery & Technology of Zhejiang Province, Zhejiang Sci-Tech University, Zhejiang, Hangzhou
来源
Fangzhi Xuebao/Journal of Textile Research | 2024年 / 45卷 / 10期
关键词
deep learning; fabric defect detection; Gabor filter; generalization performance; global search algorithm; pattern recognition;
D O I
10.13475/j.fzxb.20230602001
中图分类号
学科分类号
摘要
Objective Deep learning models have poor generalization performance when faced with cross-scene fabric defect detection, and there is relatively little research on dynamic cross scene transfer methods. Due to the influence of camera type, parameters, environmental lighting and other image acquisition conditions, there are significant differences in the distribution of fabric image data. How to accurately extract target domain data under various imaging conditions and achieve effective detection of fabric defects across scenes is an urgent problem to be solved. To this end, a hybrid algorithm based on the Beetle global search algorithm(BAS) was constructed by adding local search capabilities to the global search capability of BAS to tackle the complexity and diversity in fabric images during fabric defect detection. Method This research constructed a hybrid algorithm based on the Beetle algorithm by adding local search capabilities to the global search capability of BAS. Gabor filters were used to select the optimal parameters and establish a fabric detection scheme. In order to solve the optimization problem of the Beetle algorithm, local search capability was added to the global search capability of BAS. In order to obtain accurate binarization detection results, the image underwent threshold segmentation based on the use of low-pass filtering to convolution the results again. Results In order to verify the effectiveness of the BAS model, the method proposed in this paper was compared with the methods in references. It was seen that the accuracy curve of this method was improved fastest and took the shortest time to reach the maximum accuracy, but the loss function curve fluctuated greatly. To verify the accuracy of the proposed method, the T-SNE method was used to visualize the features of fabric defects using the improved BAS method and the methods used in references. The method in this article showed a smaller distance in the embedding space, but the feature similarity extracted from defects and hole defects at the edge of the image was higher. To verify whether the proposed method extracted the features of defects, the Grad CAM method was used to visualize the defect features extracted by the model. The focus of this method was more concentrated within the range of fabric defects, and it was less affected by the background area. This verified that this method could effectively identify defect areas and has good generalization performance for cross-scene fabric defect detection. The optimal Gabor filter was used for fabric defect detection, and the defect detection effect of the proposed algorithm was evaluated in the form of binary images. The results show that the fabric defects detected by this algorithm are clear and accurate. Conclusion The loss function curve of the method in this paper converge quickly, and the accuracy curve convergence value is high. The space for extracting all defect features of defects is closer, and the distance between each defect is larger. This proves that the features extracted from fabric defects in this paper are classified differently, and are less affected by the background. It verifies that the method in this paper can effectively identify the defect area with good generalization performance for cross-scene fabric defect detection. In practical applications, obtaining fabric images is influenced by lighting and fabric texture, which can affect the applicability of the model across-scenes, such as camera angle, fabric type, and camera parameters. The next step is to conduct research on other influencing factors such as camera angle and fabric type to further improve the model's generalization ability across scenes. © 2024 China Textile Engineering Society. All rights reserved.
引用
收藏
页码:89 / 94
页数:5
相关论文
共 15 条
  • [1] ZHANG Xingye, Research on key technologies of fabric defect automatic detection system[D] Wuxi: Jiangnan University, pp. 4-5, (2012)
  • [2] WEN Zhijie, Research and application of image texture feature representation method[D], pp. 7-8, (2008)
  • [3] WANG Shikun, Research on insulator target recognition and tracking based on texture features[D], pp. 5-6, (2010)
  • [4] HANBAY K, MUHAMMED T, OMER F O., Fabric defect detection systems and methods-a systematic literature review, Optik, 127, 24, pp. 11960-11973, (2016)
  • [5] CHETVERIKOV D, HANBURY A., Finding defects in texture using regularity and local orientation[J], Pattern Recognition, 35, 10, pp. 2165-2180, (2002)
  • [6] YAPI D, ALLILI M S, BAAZIZ N., Automatic fabric defect detection using learning-based local textural distributions in the contourlet domain, IEEE Transactions on Automation Science and Engineering, 15, 3, pp. 1014-1026, (2017)
  • [7] SERDAROGLU A, ERTUZUN A, ERCIL A., Defect detection in textile fabric images using wavelet transforms and independent compo nent analysis, Pattern Recognition, 16, pp. 61-64, (2006)
  • [8] JING J, YANG P, LI P., Supervised defect detection on textile fabrics via optimal Gabor flter[J], Journal of the Textile Institute, 44, 1, pp. 40-57, (2014)
  • [9] MINA B, FARAHNAZ M., Inspection of textile fabrics based on the optimal Gabor flter, Signal Image and Video Processing, 15, pp. 1617-1625, (2021)
  • [10] HU G H., Optimal ring Gabor flter design for texture defect detection using a simulated annealing algorithm, 2014 International Conference on Information Science, Electronics and Electrical Engineering, (2014)