심층신경망을 이용한 PCB 부품의 인쇄문자 인식

Recognition of Characters Printed on PCB Components Using Deep Neural Networks

  • 조태훈 (한국기술교육대학교 컴퓨터공학부)
  • Cho, Tai-Hoon (School of Computer Science and Engineering, Korea University of Technology and Education)
  • 투고 : 2021.07.24
  • 심사 : 2021.09.11
  • 발행 : 2021.09.30

초록

Recognition of characters printed or marked on the PCB components from images captured using cameras is an important task in PCB components inspection systems. Previous optical character recognition (OCR) of PCB components typically consists of two stages: character segmentation and classification of each segmented character. However, character segmentation often fails due to corrupted characters, low image contrast, etc. Thus, OCR without character segmentation is desirable and increasingly used via deep neural networks. Typical implementation based on deep neural nets without character segmentation includes convolutional neural network followed by recurrent neural network (RNN). However, one disadvantage of this approach is slow execution due to RNN layers. LPRNet is a segmentation-free character recognition network with excellent accuracy proved in license plate recognition. LPRNet uses a wide convolution instead of RNN, thus enabling fast inference. In this paper, LPRNet was adapted for recognizing characters printed on PCB components with fast execution and high accuracy. Initial training with synthetic images followed by fine-tuning on real text images yielded accurate recognition. This net can be further optimized on Intel CPU using OpenVINO tool kit. The optimized version of the network can be run in real-time faster than even GPU.

키워드

과제정보

이 논문은 2020년도 한국기술교육대학교 교수연구제 파견연구비 지원에 의하여 연구되었음.

참고문헌

  1. Tesseract OCR [Internet]. Available: https://github.com/tesseract-ocr/tesseract
  2. X. Liu, D. Liang, S. Yan, D. Chen, Y. Qiao, J. Yan, "FOTS: Fast Oriented Text Spotting with a Unified Network," arXiv:1801.01671, 2018.
  3. X. Zhou, C. Yao, H. Wen, Y. Wang, S. Zhou, W. He, and J. Liang, "EAST: An Efficient and Accurate Scene Text Detector," IEEE Conference on Computer Vision and Pattern Recognition, pp.2642-2651, 2017.
  4. Y. Baek, B. Lee, D. Han, S. Yun, H. Lee, "Character Region Awareness for Text Detection," IEEE Conference on Computer Vision and Pattern Recognition, pp.9357-9366, 2019
  5. B. Shi, X. Bai, and C. Yao, "An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition," arXiv:1507.05717, 2015.
  6. M. Namysl, I. Konya, "Efficient, Lexicon-Free OCR using Deep Learning," 2019 International Conference on Document Analysis and Recognition (ICDAR), pp.295-301, 2019.
  7. J. Baek, G. Kim, J. Lee, S. Park, D. Han, S. Yun, S.J. Oh, and H. Lee, "What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysis," 2019 IEEE International Conference on Computer Vision, pp.4714-4722, 2019.
  8. Keras-ocr [Internet]. Available: https://github.com/faustomorales/keras-ocr.
  9. Y. Du, C. Li, R. Guo, X. Yin, W. Liu, J. Zhou, Y. Bai, Z. Yu, Y. Yang, Q. Dang, H. Wang, "PP-OCR: A Practical Ultra Lightweight OCR System," arXiv:2009.09941, 2020.
  10. S. Zherzdev and A. Gruzdev, "LPRNet: License Plate Recognition via Deep Neural Networks," arXiv:1806.10447, 2018.
  11. OpenVINO Toolkit [Internet]. Available: https://docs.openvinotoolkit.org/latest/index.html.
  12. K. He, X. Zhang. S. Ren, and J. Sun, "Deep Residual Learning for Image Recognition," in Proceeding of 2016 IEEE Conference on Computer Vision and Pattern Recognition, pp. 770-778, 2016.
  13. M. Jaderberg, K. Simonyan, A. Vedaldi, and A. Zisserman. Synthetic data and artificial neural networks for natural scene text recognition. In Workshop on Deep Learning, NIPS, 2014.
  14. A. Gupta, A. Vedaldi, and A. Zisserman. Synthetic data for text localisation in natural images. In CVPR, 2016.
  15. D. P. Kingma and J. Ba, "Adam: A Method for Stochastic Optimization," the 3rd International Conference for Learning Representations, San Diego, 2015.