Skip to main content
Log in

Defect detection method using deep convolutional neural network, support vector machine and template matching techniques

  • Original Article
  • Published:
Artificial Life and Robotics Aims and scope Submit manuscript

Abstract

In this paper, a defect detection method using deep convolutional neural network (DCNN), support vector machine (SVM) and template matching techniques is introduced. First, a DCNN for visual inspection is designed and trained using a large number of images to inspect undesirable defects such as crack, burr, protrusion, chipping, spot and fracture phenomena which appear in the manufacturing process of resin molded articles. Then the trained DCNN named sssNet and well-known AlexNet are, respectively, incorporated with two SVMs to classify sample images with high recognition rate into accept as OK category or reject as NG one, in which compressed feature vectors obtained from the DCNNs are used as inputs for the SVMs. The performances of the two types of SVMs with the DCNNs are compared and evaluated through training and classification experiments. Finally, a template matching technique is further proposed to efficiently extract important target areas from original training and test images. This will be able to enhance the reliability and accuracy for defect detection.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

References

  1. Guo T, Dong J, Li H, Gao Y (2017) Simple convolutional neural network on image classification. In: Proceedings of 2017 IEEE 2nd International Conference on Big Data Analysis (ICBDA), pp 721–724, Beijing

  2. Deng YS, Luo AC, Dai MJ (2018) Building an automatic defect verification system using deep neural network for PCB defect classification. In: Proceedings of 2018 4th International Conference on Frontiers of Signal Processing (ICFSP), pp 145–149, Poitiers, France, Sept 2018

  3. Wang X, Chen Z, Liu G, Wan Y (2017) Fiber image classification using convolutional neural networks. In: Proceedings of 2017 4th International Conference on Systems and Informatics (ICSAI), pp 1214–1218

  4. Shao J, Shi H, Du D, Wang L, Cao H (2011) Automatic weld defect detection in real-time X-ray images based on support vector machine. In: Proceedings of 2011 4th International Congress on Image and Signal Processing, pp 1842–1846, Shanghai, China, Oct. 2011

  5. Niu XX, Suen C (2012) A novel hybrid CNN-SVM classifier for recognizing handwritten digits. Pattern Recognit 45(4):1318–1325

    Article  Google Scholar 

  6. Sun X, Park J, Kang K, Hur J (2017) Novel hybrid CNN-SVM model for recognition of functional magnetic resonance images. In: 2017 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp 1001–1006

  7. Krizhevsky A, Sutskever I, Hinton GE (2017) ImageNet classification with deep convolutional neural networks. Commun ACM 60(6):84–90

    Article  Google Scholar 

  8. Chan GCY, Muhammad A, Shah SAA, Tang TB, Lu CK, Meriaudeau F (2017) Transfer learning for diabetic macular edema (DME) detection on optical coherence tomography (OCT) images. 2017 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), pp 493–496

  9. Wu H, Huang Q, Wang D, Gao L (2018) A CNN-SVM combined model for pattern recognition of knee motion using mechanomyography signals. J Electromyogr Kinesiol 42:136–142

    Article  Google Scholar 

  10. Nagata F, Tokuno K, Watanabe K, Habib MK (2018) Design application of deep convolutional neural network for vision-based defect inspection. In: Proceedings of 2018 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp 1701–1706

  11. Nagata F, Tokuno K, Ochi H, Otsuka A, Ikeda T, Watanabe K, Habib MK (2018) A design and training application for deep convolutional neural networks and support vector machines developed on MATLAB. Lecture Notes in Mechanical engineering (LNME) and communications in computer and information science (CCIS), Springer, Berlin, p 7

  12. Platt J (1998) Sequential minimal optimization: a fast algorithm for training support vector machines. Tech Rep MSR 98:1–24

    Google Scholar 

  13. ImageNet. http://www.image-net.org

  14. Lewis JP (2001) Fast normalized cross-correlation. Ind Light Magic, p 7

Download references

Acknowledgements

This work was supported by JSPS KAKENHI Grant number 16K06203 and MITSUBISHIPENCIL CO., LTD.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fusaomi Nagata.

Additional information

This work was presented in part at the 24th International Symposium on Artificial Life and Robotics, Beppu, Oita, January 23–25, 2019.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Nagata, F., Tokuno, K., Mitarai, K. et al. Defect detection method using deep convolutional neural network, support vector machine and template matching techniques. Artif Life Robotics 24, 512–519 (2019). https://doi.org/10.1007/s10015-019-00545-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10015-019-00545-x

Keywords

Navigation