Plastic Parts Surface Defect Detection Algorithm Based on Path-Augmentation Multi-Level Feature Pyramid Network
DOI:
https://doi.org/10.54097/19dg1g42Keywords:
Plastic Parts Surface Defect Detection, Multi-Level Feature Pyramid Network (MLFPN), Path Augmentation, Dilated ConvolutionAbstract
Due to the characteristics of plastic parts surface defects such as variable scales and shapes, and a large number of small defect targets, existing algorithms cannot fully extract and utilize defect features. A plastic surface defect detection algorithm based on Path-Augmentation Multi-Level Feature Pyramid Network (PA-MLFPN) is proposed. On the basis of extracting multi-level and multi-scale defect features, to further enhance the representation ability of small defect targets, firstly, dilated convolution is adopted in the encoder of Thinned U-shape Modules (TUM) to fully retain shallow detail features. Meanwhile, a bottom-up feature augmentation path is added to the original TUM to interpolate shallow features into deep layers. Secondly, the Efficient Channel Attention (ECA) module is introduced in the second stage of the Scale-wise Feature Aggregation Module (SFAM) to achieve more reasonable weight allocation across channels. Finally, Focal Loss is used to calculate classification loss, which alleviates the problem of imbalance between positive and negative samples to a certain extent. Embedding the proposed PA-MLFPN into SSD and conducting experiments on the plastic parts surface defect dataset show that the algorithm achieves a mean Average Precision (mAP) of 84.89% and effectively solves the missing detection problem of small defect targets.
Downloads
References
[1] Girshick R. Fast R-CNN[C]//IEEE Internetional Conference on Computer Vision (ICCV),2015:1440-1448.
[2] Ren S Q, He K M,Girshick R,et al.Faster R-CNN:Towards Real-Time Object Detection with Region Proposal Networks [J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017,39(6):1137-1149.
[3] He K M, Gkioxari G,Dollár P, et al. Mask R-CNN[C]//Proceedings of the IEEE International Conference on Computer Vision. Los Alamitos: IEEE Computer Society Press, 2017: 2961-2969.
[4] REDMON J,DIVVAL A S,GIRSHICK R,et al.You Only Look Once:Unified,Real-Time Object Detection[C]//Computer Vision &Pattern Recognition.IEEE,2016:779-788.
[5] LIU W, ANGUELOV D, ERHAN D, et al. SSD: Single Shot MultiBox Detector [J]. 2016:21-37.
[6] REDMON J, FARHADI A. YOLO9000: Better,Faster, Stronger[C]// IEEE Conference on Computer Vision&Pattern Recognition. IEEE,2017:6517-6525.
[7] REDMON J, FARHADI A. YOLOv3:an incremental improvement [J]. arXiv:1804.02767,2018.
[8] Cha Y J, Choi W, Suh G, Mahmoudkhani S, Buyukozturk O. Autonomous structural visual inspection using region based deep learning for detecting multiple damage types. Computer-Aided Civil and Infrastructure Engineering, 2018,33(9):731-747.
[9] Chang, H. T., Gou, J. N., Li, X. M. The application of Faster R-CNN in defect detection of industrial CT images. Journal of Image and Graphics, 23(07), 1061-1071.
[10] He Y, Song K, Meng Q, Yan Y. An End-to-end Plastic Surface Defect Detection Approach via Fusing Multiple Hierarchical Features. IEEE Transactions on Instrumentation, 2020,69(4): 1493−1504.
[11] Zhang, L., Lang, X. L., Wang, L. The surface defect detection of aluminum profiles based on image fusion and YOLOv3. Computer and Modernization, (11), 8-15.
[12] Zhao Q, Sheng T, Wang Y, et al.M2det:A single-shot object detector based on multi-level feature pyramid network[C]// Proceedings of the AAAI Conference on Artificial Intelligence. 2019,33:9259-9266.
[13] Lin T Y, Dollár P, Girshick R, et al. Feature Pyramid Networks for Object Detection[J].2016:936-944.
[14] Liu S, Qi L, Qin H, et al. Path Aggregation Network for Instance Segmentation[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA: IEEE,2018:8759-8768.
[15] Cheng, J. Y., Duan, X. H. Zhu, W. The research on metal surface defect detection based on the improved YOLOv3. Computer Engineering and Applications, 1-9.
[16] Chen, K. Xu, X. H. The application research on surface defect detection of aluminum profiles based on the improved Faster RCNN. Journal of China Jiliang University, 31(02), 240-246.
[17] Wang, H. Y., Wang, J. P., Zhang, G., Ouyang, X. Luo, F. H.. Industrial surface defect detection using Mask R-CNN with improved FPN. Manufacturing Automation, 42(12), 35-40+97.
[18] LWang Q, Wu B, Zhu P, et al. ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks.2019 [2020-04-07].
[19] Lin T Y, Goyal P, Girshick R, et al. Focal loss for dense object detection[J]//IEEE Transactions on Pattern Analysis and Machine Intelligence,2020,42 (2):318-327.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Frontiers in Computing and Intelligent Systems

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

