Skip to main content

High-Performance OCR on Packing Boxes in Industry Based on Deep Learning

  • Conference paper
  • First Online:
Book cover PRICAI 2018: Trends in Artificial Intelligence (PRICAI 2018)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 11012))

Included in the following conference series:

Abstract

OCR is a historic but still challenging task, especially in industry conditions where it demands very high computational efficiency and accuracy. In this work, a high-performance OCR method based on deep learning is proposed. First, the region of character string is segmented using semantic segmentation network, and the tilt angle of the string is corrected so that the system is adaptive to character rotation. Then the intervals between adjacent characters are recognized by a column-classification network so that characters in the same string are well separated. Finally, each region of separated character is fed to an image-classification network to ensure a high-accuracy recognition. Different from existing networks which carry out tasks of location and classification simultaneously, in the proposed framework three different networks including the semantic segmentation network, the column classification network and the image-classification network are independent. Each of them is dedicated to its own classification task so that the classification accuracy is best. Another advantage of this framework is that it is convenient to do data augmentation. Different from traditional OCR algorithm based on deep learning, which mainly need a large number of labeled samples, the proposed algorithm only needs 100 training samples with the size of 640 * 480 to achieve an accuracy of 99.92%, moreover, the whole detection process requires only about 78 ms per image on average.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Endicott, J., Spitzer, R.L., Fleiss, J.L.: Mental status examination record (MSER): reliability and validity. Compr. Psychiatry 16(3), 285–301 (1975)

    Article  Google Scholar 

  2. Epshtein, B., Ofek, E., Wexler, Y.: Detecting text in natural scenes with stroke width transform. In: Computer Vision and Pattern Recognition, pp. 2963–2970. IEEE (2010)

    Google Scholar 

  3. Gers, F.A., Schmidhuber, E.: LSTM recurrent networks learn simple context-free and context-sensitive languages. IEEE Trans. Neural Netw. 12(6), 1333–1340 (2001)

    Article  Google Scholar 

  4. Xia, H., Liao, D.: The study of license plate character segmentation algorithm based on vetical projection. In: International Conference on Consumer Electronics, Communications and Networks, pp. 4583–4586. IEEE (2011)

    Google Scholar 

  5. Khandelwal, A., Choudhury, P., Sarkar, R., Basu, S., Nasipuri, M., Das, N.: Text line segmentation for unconstrained handwritten document images using neighborhood connected component analysis. In: Chaudhury, S., Mitra, S., Murthy, C.A., Sastry, P.S., Pal, S.K. (eds.) PReMI 2009. LNCS, vol. 5909, pp. 369–374. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-11164-8_60

    Chapter  Google Scholar 

  6. Zhu, J., Zou, H., Rosset, S., et al.: Multi-class AdaBoost. Stat. Interface 2(3), 349–360 (2009)

    Article  MathSciNet  Google Scholar 

  7. Joachims, T.: Making large-scale SVM learning practical. Technische Universität Dortmund, Sonderforschungsbereich 475: Komplexitätsreduktion in multivariaten Datenstrukturen, pp. 499–526 (1999)

    Google Scholar 

  8. Pinkus, A.: Approximation theory of the MLP model in neural networks. Acta Numer. 8, 143–195 (1999)

    Article  MathSciNet  Google Scholar 

  9. Zhang, Z., Shen, W., Yao, C., et al.: Symmetry-based text line detection in natural scenes. In: IEEE Conference on Computer Vision and Pattern Recognition, pp. 2558–2567. IEEE Computer Society (2015)

    Google Scholar 

  10. Tian, Z., et al.: Detecting text in natural image with connectionist text proposal network. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, vol. 9912. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46484-8

    Chapter  Google Scholar 

  11. Liu, Y., Jin, L.: Deep matching prior network: Toward tighter multi-oriented text detection. arXiv preprint arXiv:1703.01425 (2017)

  12. Zhang, Z., et al.: Multi-oriented text detection with fully convolutional networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2016)

    Google Scholar 

  13. He, W., et al.: Deep Direct Regression for Multi-Oriented Scene Text Detection. arXiv preprint arXiv:1703.08289 (2017)

  14. Liu, W., et al.: SSD: single shot multibox detector. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, vol. 9905, pp. 21–37. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46448-0_2

    Chapter  Google Scholar 

  15. Hong, S., Roh, B., Kim, K.H., et al.: PVANet: lightweight deep neural networks for real-time object detection. arXiv preprint arXiv:1611.08588 (2016)

  16. Ren, S., He, K., Girshick, R., et al.: Faster R-CNN: towards real-time object detection with region proposal networks. In: International Conference on Neural Information Processing Systems, pp. 91–99. MIT Press (2015)

    Google Scholar 

  17. Ronneberger, O., Fischer, P., Brox, T.: U-Net: convolutional networks for biomedical image segmentation. In: Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F. (eds.) MICCAI 2015. LNCS, vol. 9351, pp. 234–241. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24574-4_28

    Chapter  Google Scholar 

  18. Zeiler, M.D., Fergus, R.: Visualizing and understanding convolutional networks. In: Fleet, D., Pajdla, T., Schiele, B., Tuytelaars, T. (eds.) ECCV 2014. LNCS, vol. 8689, pp. 818–833. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-10590-1_53

    Chapter  Google Scholar 

  19. Long, J., Shelhamer, E., Darrell, T.: Fully convolutional networks for semantic segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2015)

    Google Scholar 

  20. Krizhevsky, A., Sutskever, I., Hinton, G.E.: ImageNet classification with deep convolutional neural networks. In: International Conference on Neural Information Processing Systems, pp. 1097–1105. Curran Associates Inc. (2012)

    Google Scholar 

  21. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. Comput. Sci. (2014)

    Google Scholar 

  22. Szegedy, C., Liu, W., Jia, Y., et al.: Going deeper with convolutions. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1–9 (2015)

    Google Scholar 

  23. He, K., Zhang, X., Ren, S., et al.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)

    Google Scholar 

Download references

Acknowledgement

This work is partially supported by the Key Project supported by Shenzhen Joint Funds of the National Natural Science Foundation of China (Grant No. U1613217).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bo Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chen, F., Li, B., Dong, R., Zhao, P. (2018). High-Performance OCR on Packing Boxes in Industry Based on Deep Learning. In: Geng, X., Kang, BH. (eds) PRICAI 2018: Trends in Artificial Intelligence. PRICAI 2018. Lecture Notes in Computer Science(), vol 11012. Springer, Cham. https://doi.org/10.1007/978-3-319-97304-3_78

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-97304-3_78

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-97303-6

  • Online ISBN: 978-3-319-97304-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics