Customized Convolutional Neural Networks Technology for Machined Product Inspection
Source abstract
Abstract
Metal workpieces are an indispensable and important part of the manufacturing industry. Surface flaws not only affect the appearance, but also affect the efficiency of the workpiece and reduce the safety of the product. Therefore, the appearance of the product needs to be inspected to determine if there are surface defects, such as scratches, dirt, chipped objects, etc., after production is completed. The traditional manual comparison inspection method is not only time-consuming and labor-intensive, but human error is also unavoidable when inspecting thousands or tens of thousands of products. Therefore, Automated Optical Inspection (AOI) is often used today. The traditional AOI algorithm does not fully meet the subtle detection requirements and needs to import a Convolutional Neural Network (CNN), but the common deep residual networks are too large, such as ResNet-101, ResNet-152, DarkNet-19, and DarkNet-53. Therefore, this research proposes an improved customized convolutional neural network. We used a self-built convolutional neural network model to detect the defects on the metal’s surface. Grad–CAM was used to display the result of the last layer of convolution as the basis for judging whether it was OK or NG. The self-designed CNN network architecture could be customized and adjusted without using a large network model. The customized network model designed in this study was compared with LeNet, VGG-19, ResNet-34, DarkNet-19, and DarkNet-53 after training five times each. The experimental results show that the self-built customized deep learning model avoiding the use of pooling and fully connected layers can effectively improve the recognition rate of defective samples and unqualified samples, and reduce the training cost. Our custom-designed models have great advantages over other models. The results of this paper contribute to the development of new diagnostic technologies for smart manufacturing.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Industrial Vision Systems and Defect Detection · Image and Object Detection Techniques · Surface Roughness and Optical Measurements
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Mechanical Engineering, National Chung Hsing University, Taichung City 40227, Taiwan
Department of Mechatronics Engineering, National Changhua University of Education, Changhua City 50007, Taiwan
Ph.D. Program for Civil and Hydraulic Engineering, Water Resources Engineering, and Infrastructure Planning, Feng Chia University, Taichung City 407102, Taiwan
References (31)
Show source-provided references
1. Korbicz, J., Koscielny, J.M., Kowalczuk, Z., and Cholewa, W. (2012). Fault Diagnosis: Models, Artificial Intelligence, Applications, Springer Science & Business Media.
2. Nixon, M., and Aguado, A. (2019). Feature Extraction and Image Processing for Computer Vision, Academic Press.10.1016/B978-0-12-814976-8.00003-8 ↗
3. Chen, C.H. (2015). Handbook of Pattern Recognition and Computer Vision, World Scientific.10.1142/9503 ↗
4. Duygulu, P., Barnard, K., de Freitas, J.F., and Forsyth, D.A. (2002, January 28–31). Object recognition as machine translation: Learning a lexicon for a fixed image vocabulary. Proceedings of the European Conference on Computer Vision, Copenhagen, Denmark.10.1007/3-540-47979-1_7 ↗
5. Reducing the dimensionality of data with neural networks10.1126/science.1127647 ↗
6. Deep learning10.1038/nature14539 ↗
7. Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., and Isard, M. (2016, January 2–4). Tensorflow: A system for large-scale machine learning. Proceedings of the 12th {USENIX} Symposium on Operating Systems Design and Implementation ({OSDI} 16), Savannah, GA, USA.
8. Ketkar, N., and Moolayil, J. (2017). Introduction to pytorch. Deep Learning with Python, Apress.10.1007/978-1-4842-2766-4 ↗
9. 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 ↗
10. Novel leakage detection by ensemble CNN-SVM and graph-based localization in water distribution systems10.1109/TIE.2017.2764861 ↗
11. Layup: Layer-adaptive and multi-type intermediate-oriented memory optimization for GPU-based CNNs10.1145/3361870 ↗
12. Devnet: An efficient cnn architecture for handwritten devanagari character recognition10.1142/S0218001420520096 ↗
13. Redmon, J., and Farhadi, A. (2018). Yolov3: An incremental improvement. arXiv.
14. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
15. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
16. Redmon, J., and Farhadi, A. (2017, January 21–26). YOLO9000: Better, faster, stronger. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.690 ↗
17. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
18. Sang, D.V., and Hung, D.V. (2019, January 4–6). YOLOv3-VD: A sparse network for vehicle detection using variational dropout. Proceedings of the Tenth International Symposium on Information and Communication Technology, Ha Noi, Vietnam.10.1145/3368926.3369691 ↗
19. Elliott, D.L. (1993). A Better Activation Function for Artificial Neural Networks, Institute for Systems Research Technical Reports. ISR Technical Report TR 93-8.
20. Soft++, a multi-parametric non-saturating non-linearity that improves convergence in deep neural architectures10.1016/j.neucom.2019.12.014 ↗
21. Global-connected network with generalized ReLU activation10.1016/j.patcog.2019.07.006 ↗
22. Redundant feature pruning for accelerated inference in deep neural networks10.1016/j.neunet.2019.04.021 ↗
23. Su, E., You, Y.-W., and Ho, C.-C. (2018). Machine Vision and Deep Learning Based Defect Inspection System for Cylindrical Metallic Surface. Instrum. Today, 46–58. (In Chinese).
24. Surface defect classification and detection on extruded aluminum profiles using convolutional neural networks10.1007/s12289-019-01496-1 ↗
25. Localization and segmentation of metal cracks using deep learning10.1007/s12652-020-01803-8 ↗
26. Ronneberger, O., Fischer, P., and Brox, T. (2015). U-net: Convolutional networks for biomedical image segmentation. International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer.10.1007/978-3-319-24574-4_28 ↗
27. Wen, S., Chen, Z., and Li, C. (2018). Vision-based surface inspection system for bearing rollers using convolutional neural networks. Appl. Sci., 8.10.3390/app8122565 ↗
28. Howard, A.G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., and Adam, H. (2017). Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv.
29. Deep Learning Model for Determining Defects of Vision Inspection Machine Using Only a Few Samples
30. Selvaraju, R.R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017, January 22–29). Grad-cam: Visual explanations from deep networks via gradient-based localization. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.74 ↗
31. Zhou, B., Khosla, A., Lapedriza, A., Oliva, A., and Torralba, A. (2016, January 27–30). Learning deep features for discriminative localization. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.319 ↗