Applied Sciences (Nov 2022)

Persian Optical Character Recognition Using Deep Bidirectional Long Short-Term Memory

  • Zohreh Khosrobeigi,
  • Hadi Veisi,
  • Ehsan Hoseinzade,
  • Hanieh Shabanian

DOI
https://doi.org/10.3390/app122211760
Journal volume & issue
Vol. 12, no. 22
p. 11760

Abstract

Read online

Optical Character Recognition (OCR) is a system of converting images, including text,into editable text and is applied to various languages such as English, Arabic, and Persian. While these languages have similarities, their fundamental differences can create unique challenges. In Persian, continuity between Characters, the existence of semicircles, dots, oblique, and left-to-right characters such as English words in the context are some of the most important challenges in designing Persian OCR systems. Our proposed framework, Bina, is designed in a special way to address the issue of continuity by utilizing Convolution Neural Network (CNN) and deep bidirectional Long-Short Term Memory (BLSTM), a type of LSTM networks that has access to both past and future context. A huge and diverse dataset, including about 2M samples of both Persian and English contexts,consisting of various fonts and sizes, is also generated to train and test the performance of the proposed model. Various configurations are tested to find the optimal structure of CNN and BLSTM. The results show that Bina successfully outperformed state of the art baseline algorithm by achieving about 96% accuracy in the Persian and 88% accuracy in the Persian and English contexts.

Keywords