journal article·2024-01-22Open access

PRC-Light YOLO: An Efficient Lightweight Model for Fabric Defect Detection

Baobao Liu, Heying Wang, Zifan Cao, Yu Wang, Lu Tao, Jingjing Yang, Kaibing Zhang

Applied Sciences· Volume 14· Issue 2

Abstract

Defect detection holds significant importance in improving the overall quality of fabric manufacturing. To improve the effectiveness and accuracy of fabric defect detection, we propose the PRC-Light YOLO model for fabric defect detection and establish a detection system. Firstly, we have improved YOLOv7 by integrating new convolution operators into the Extended-Efficient Layer Aggregation Network for optimized feature extraction, reducing computations while capturing spatial features effectively. Secondly, to enhance the performance of the feature fusion network, we use Receptive Field Block as the feature pyramid of YOLOv7 and introduce Content-Aware ReAssembly of FEatures as upsampling operators for PRC-Light YOLO. By generating real-time adaptive convolution kernels, this module extends the receptive field, thereby gathering vital information from contexts with richer content. To further optimize the efficiency of model training, we apply the HardSwish activation function. Additionally, the bounding box loss function adopts the Wise-IOU v3, which incorporates a dynamic non-monotonic focusing mechanism that mitigates adverse gradients from low-quality instances. Finally, in order to enhance the PRC-Light YOLO model’s generalization ability, we apply data augmentation techniques to the fabric dataset. In comparison to the YOLOv7 model, multiple experiments indicate that our proposed fabric defect detection model exhibits a decrease of 18.03% in model parameters and 20.53% in computational load. At the same time, it has a notable 7.6% improvement in mAP.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Advanced Neural Network Applications · Visual Attention and Saliency Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computer Science, Xi’an Polytechnic University, Xi’an 710048, China

Shaanxi Key Laboratory of Clothing Intelligence, School of Computer Science, Xi’an Polytechnic University, Xi’an 710048, China

Funding

National Natural Science Foundation of China

References (40)

Show source-provided references
1. Attention-based Feature Fusion Generative Adversarial Network for yarn-dyed fabric defect detection10.1177/00405175221129654 ↗
2. Li, W., Zhang, Z., Wang, M., and Chen, H. (2023). Fabric Defect Detection Algorithm Based on Image Saliency Region and Similarity Location. Electronics, 12.10.3390/electronics12061392 ↗
3. Yarn-dyed fabric defect detection based on an improved autoencoder with Fourier convolution10.1177/00405175221130519 ↗
4. CARL-YOLOF: A well-efficient model for digital printing fabric defect detection
5. Saliency-based fabric defect detection via bag-of-words model10.1007/s11760-022-02379-w ↗
6. Deep learning-based fabric defect detection: A review10.1177/00405175221130773 ↗
7. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., and Berg, A.C. (2016, January 11–14). Ssd: Single shot multibox detector. Proceedings of the Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands. Proceedings, Part I 14.10.1007/978-3-319-46448-0_2 ↗
8. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
9. Redmon, J., and Farhadi, A. (2018). Yolov3: An incremental improvement. arXiv.
10. Girshick, R., Donahue, J., Darrell, T., and Malik, J. (2014, January 23–28). Rich feature hierarchies for accurate object detection and semantic segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.81 ↗
11. Girshick, R. (2015, January 7–13). Fast r-cnn. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.169 ↗
12. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks10.1109/TPAMI.2016.2577031 ↗
13. Fabric defect detection based on transfer learning and improved Faster R-CNN
14. Improved MobileNetV2-SSDLite for automatic fabric defect detection system based on cloud-edge computing10.1016/j.measurement.2022.111665 ↗
15. Research on improving YOLOv5s algorithm for fabric defect detection10.1108/IJCST-11-2021-0165 ↗
16. Cotton fabric defect detection based on K-SVD dictionary learning10.1080/15440478.2021.2002767 ↗
17. Lin, G., Liu, K., Xia, X., and Yan, R. (2022). An efficient and intelligent detection method for fabric defects based on improved YOLOv5. Sensors, 23.10.3390/s23010097 ↗
18. Guo, Y., Kang, X., Li, J., and Yang, Y. (2023). Automatic Fabric Defect Detection Method Using AC-YOLOv5. Electronics, 12.10.3390/electronics12132950 ↗
19. Context receptive field and adaptive feature fusion for fabric defect detection10.1007/s00500-022-07675-8 ↗
20. Wang, C.Y., Bochkovskiy, A., and Liao, H.Y.M. (2023, January 17–24). YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
21. Liu, S., and Huang, D. (2018, January 8–14). Receptive field block net for accurate and fast object detection. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01252-6_24 ↗
22. YOLO-based ROI selection for joint encryption and compression of medical images with reconstruction through super-resolution network10.1016/j.future.2023.08.018 ↗
23. Wang, C.Y., Liao, H.Y.M., and Yeh, I.H. (2022). Designing network design strategies through gradient path analysis. arXiv.
24. An improved feature pyramid network for object detection10.1016/j.neucom.2022.02.016 ↗
25. Chen, J., Kao, S.h., He, H., Zhuo, W., Wen, S., Lee, C.H., and Chan, S.H.G. (2023, January 17–24). Run, Don’t Walk: Chasing Higher FLOPS for Faster Neural Networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.01157 ↗
26. Ma, N., Zhang, X., Zheng, H.T., and Sun, J. (2018, January 8–14). Shufflenet v2: Practical guidelines for efficient cnn architecture design. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01264-9_8 ↗
27. Howard, A., Sandler, M., Chu, G., Chen, L.C., Chen, B., Tan, M., Wang, W., Zhu, Y., Pang, R., and Vasudevan, V. (November, January 27). Searching for mobilenetv3. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
28. GhostNetv2: Enhance cheap operation with long-range attention
29. Spatial pyramid pooling in deep convolutional networks for visual recognition10.1109/TPAMI.2015.2389824 ↗
30. Wang, C.Y., Liao, H.Y.M., Wu, Y.H., Chen, P.Y., Hsieh, J.W., and Yeh, I.H. (2020, January 13–19). CSPNet: A new backbone that can enhance learning capability of CNN. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Seattle, WA, USA.10.1109/CVPRW50498.2020.00203 ↗
31. L-YOLOv4: Lightweight YOLOv4 based on modified RFB-s and depthwise separable convolution for multi-target detection in complex scenes10.1007/s11554-023-01329-0 ↗
32. Szegedy, C., Ioffe, S., Vanhoucke, V., and Alemi, A. (2017, January 4–9). Inception-v4, inception-resnet and the impact of residual connections on learning. Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v31i1.11231 ↗
33. Quantum image scaling using nearest neighbor interpolation10.1007/s11128-014-0841-8 ↗
34. Manzhos, S., and Ihara, M. (2023). Neural network with optimal neuron activation functions based on additive Gaussian process regression. arXiv.10.1021/acs.jpca.3c02949 ↗
35. Direct modeling of the elastic properties of single 3D printed composite filaments using X-ray computed tomography images segmented by neural networks
36. A low cost neuromorphic learning engine based on a high performance supervised SNN learning algorithm10.1038/s41598-023-32120-7 ↗
37. Zheng, Z., Wang, P., Liu, W., Li, J., Ye, R., and Ren, D. (2020, January 7–12). Distance-IoU loss: Faster and better learning for bounding box regression. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA.10.1609/aaai.v34i07.6999 ↗
38. DPPNet: An efficient and robust deep learning network for land cover segmentation from high-resolution satellite images
39. Tong, Z., Chen, Y., Xu, Z., and Yu, R. (2023). Wise-IoU: Bounding Box Regression Loss with Dynamic Focusing Mechanism. arXiv.
40. Improved faster R-CNN for fabric defect detection based on Gabor filter with Genetic Algorithm optimization10.1016/j.compind.2021.103551 ↗