Research Article

Unveiling the potential of pre-processing and differentiable binarization thresholds for invoice text detection

Feiran Liang1,*, Yu Wu2, Jialun Yang1
1. Beijing Jiaotong University
2. Southwest University

* Corresponding author: [email protected]

Abstract

Invoice text detection aims to automatically identify key information in invoices, which is one of the representative applications of Optical Character Recognition (OCR) technology and a research hotspot in the computer vision community. The classic traditional OCR method consists of three key steps: preprocessing stage, text detection and text recognition. In the feature extraction stage, it faces problems such as insufficient generalization ability and poor robustness. In this paper, we reveal the great potential of preprocessing strategies in improving OCR accuracy, and propose an invoice text detection method based on DBNet and differentiable binarization thresholds. Specifically, we first introduce color segmentation and local adaptive threshold to improve the preprocessing process, which can effectively suppress the influence of background information and context noise on detection results. In addition, a differentiable binarization threshold is introduced in the feature extraction, which improves the error correction speed in the whole deep learning process. Studies have shown significant improvements in test results after color segmentation or background removal compared to the original image. Therefore, we propose to properly consider the text detection of invoices in the preprocessing stage for improvement.

Keywords: invoice text detection; optical character recognition; deep learning.
Published: June 14, 2023
DOI: 10.54254/2755-2721/6/20230654
Volume: ACE Vol.6
pp. 1245-1254
Download PDF

References

  1. Liao, M., Wan, Z. Yao, C., Chen, K., & Bai, X. (2019). Real-time scene text detection with differentiable binarization.
  2. Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; and Reed, S. E. 2016. SSD: single shot multibox detector. In Proc. ECCV.
  3. Liao, M.; Shi, B.; Bai, X.; Wang, X.; and Liu, W. 2017. Textboxes: A fast text detector with a single deep neural network. In Proc. AAAI.
  4. Liao, M.; Shi, B.; and Bai, X. 2018. Textboxes++: A singleshot oriented scene text detector. IEEE Trans. Image Processing 27(8):3676–3690.
  5. Zhou, X.; Yao, C.; Wen, H.; Wang, Y.; Zhou, S.; He, W.; and Liang, J. 2017. EAST: an efficient and accurate scene text detector. In Proc. CVPR.
  6. Shi, B.; Bai, X.; and Belongie, S. J. 2017. Detecting oriented text in natural images by linking segments. In Proc. CVPR.
  7. Wang, W.; Xie, E.; Li, X.; Hou, W.; Lu, T.; Yu, G.; and Shao, S. 2019a. Shape robust text detection with progressive scale expansion network. In Proc. CVPR, 9336–9345.
  8. Hong Mengxia, Liang Shaohua. Color image segmentation based on RGB color space [J]. Computer Knowledge and Technology, 2020,16(34):225-227.
  9. Wang Tao. Research on Invoice Recognition and Self-Correction System Based on Color Segmentation [J]. Information Technology and Network Security, 2021,40(5):80-85. DOI:10.19358/j.issn.2096-5133.2021.05.014.
  10. Karatzas, D.; Gomez-Bigorda, L.; Nicolaou, A.; Ghosh, S. K.; Bagdanov, A. D.; Iwamura, M.; Matas, J.; Neumann, L.; Chandrasekhar, V. R.; Lu, S.; Shafait, F.; Uchida, S.; and Valveny, E. 2015. ICDAR 2015 competition on robust reading. In Proc. ICDAR.