Metal Defect Detection Based on Convolutional Neural Networks and Data Augmentation
Abstract
This paper explores the classification of metal surface defects, focusing on using deep learning techniques to improve automated detection and classification accuracy. Traditional detection methods have limitations such as insufficient accuracy and low efficiency, while convolutional neural network methods have gradually replaced them, making significant progress. However, issues like data scarcity, complex training processes, and overfitting remain. To address these, the paper uses the ResNet50 network combined with data augmentation techniques to expand the training dataset, enhancing the model's generalization ability and accuracy. Experimental results show that the model with data augmentation outperforms the one without it, improving validation accuracy from 95% to 96%. However, the improvement is not substantial, possibly due to image distortion during augmentation. In conclusion, the ResNet50-based metal surface defect classification model, enhanced with data augmentation, has made positive progress in improving accuracy but requires further research into specific enhancement methods to reduce distortion effects. Future work could focus on optimizing data augmentation strategies and improving the model's ability to identify rare defects.
References
- Song, K., & Yan, Y. (2013). A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects. Applied Surface Science, 285, 858–864.
- Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). ImageNet Classification with Deep Convolutional Neural Networks. Advances in Neural Information Processing Systems (NeurIPS), 25, 1097–1105.
- He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 770–778.
- Shorten, C., & Khoshgoftaar, T. M. (2019). A survey on Image Data Augmentation for Deep Learning. Journal of Big Data, 6(1), 60.
- Li, J., Su, Z., Geng, J., & Yin, Y. (2019). Real-time detection of steel strip surface defects based on improved YOLO detection network. IFAC-PapersOnLine, 52(30), 212–217.
- Simonyan, K., & Zisserman, A. (2015). Very Deep Convolutional Networks for Large-Scale Image Recognition. International Conference on Learning Representations (ICLR).
- Jarvis, R. A. (1983). A perspective on range finding techniques for computer vision. IEEE Transactions on Pattern Analysis and Machine Intelligence, PAMI-5(2), 122–139.
- Zhang, H., Li, S., Miao, Q., Fang, R., Xue, S., Hu, Q., Hu, J., & Chan, S. (2024). Surface defect detection of hot rolled steel based on multi-scale feature fusion and attention mechanism residual block. Scientific Reports, 14, Article 7671.
- Zhang, H., Li, S., Miao, Q., Fang, R., Xue, S., Hu, Q., & Hu, J. (2023). Metal surface defect detection based on improved YOLOv5. Scientific Reports, 13, Article 47716.
- Lv, B., Duan, B., Zhang, Y., Li, S., Wei, F., Gong, S., Ma, Q., & Cai, M. (2024). Research on surface defect detection of strip steel based on improved YOLOv7. Sensors, 24(9), 2667.
- Yang, S., Liu, H., Wang, Z., & Li, Y. (2023). A comprehensive survey of image augmentation techniques for deep learning. Pattern Recognition, 111, 107602.
- Akyon, F. C., Altinuc, S. O., & Temizel, A. (2022). Slicing aided hyper inference and a benchmark for small object detection. IEEE International Conference on Image Processing (ICIP), 2022, 3203–3207.
- Yang, B., Liu, Z., Duan, G., & Tan, J. (2022). Mask2Defect: A Prior Knowledge-Based Data Augmentation Method for Metal Surface Defect Inspection. IEEE Transactions on Industrial Informatics, 18(11), 6743–6755.
- Xu, C., Li, W., Cui, X., Wang, Z., Zheng, F., & Cui, X. (2024). Scarcity-GAN: Scarce Data Augmentation for Defect Detection via Generative Adversarial Nets. Neurocomputing, 566, 127061.
- Tao, H. (2024). Erasing-inpainting-based data augmentation using denoising diffusion probabilistic models with limited samples for generalized surface defect inspection. Mechanical Systems and Signal Processing, 208, 111082.
- Tai, Y., Yang, K., Peng, T., Huang, Z., & Zhang, Z. (2024). Defect Image Sample Generation with Diffusion Prior for Steel Surface Defect Recognition. IEEE Transactions on Automation Science and Engineering, early access (Jan 2024).
- He, Y., Li, S., Wen, X., & Xu, J. (2024). A Survey on Surface Defect Inspection Based on Generative Models in Manufacturing. Applied Sciences, 14(15), 6774.