A Pipeline Approach to Context-Aware Handwritten Text Recognition
Source abstract
Abstract
Despite concerted efforts towards handwritten text recognition, the automatic location and transcription of handwritten text remain a challenging task. Text detection and segmentation methods are often prone to errors, affecting the accuracy of the subsequent recognition procedure. In this paper, a pipeline that locates texts on a page and recognizes the text types, as well as the context of the texts within the detected region, is proposed. Clinical receipts are used as the subject of study. The proposed model is comprised of an object detection neural network that extracts text sequences present on the page regardless of size, orientation, and type (handwritten text, printed text, or non-text). After that, the text sequences are fed to a Residual Network with a Transformer (ResNet-101T) model to perform transcription. Next, the transcribed text sequences are analyzed using a Named Entity Recognition (NER) model to classify the text sequences into their corresponding contexts (e.g., name, address, prescription, and bill amount). In the proposed pipeline, all the processes are implicitly learned from data. Experiments performed on 500 self-collected clinical receipts containing 15,297 text segments reported a character error rate (CER) and word error rate (WER) of 7.77% and 10.77%, respectively.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Handwritten Text Recognition Techniques · Vehicle License Plate Recognition · Natural Language Processing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Faculty of Information Science and Technology, Multimedia University, Melaka 75450, Malaysia
School of Electrical and Electronic Engineering, College of Engineering, Yonsei University, Seoul 03722, Korea
References (30)
Show source-provided references
1. Chowdhury, A., and Vig, L. (2018). An Efficient End-to-End Neural Model for Handwritten Text Recognition. arXiv, Available online: http://arxiv.org/abs/1807.07965.
2. Chung, J., and Delteil, T. (2020). A Computationally Efficient Pipeline Approach to Full Page Offline Handwritten Text Recognition. arXiv, Available online: http://arxiv.org/abs/1910.00663.10.1109/ICDARW.2019.40078 ↗
3. Ingle, R.R., Fujii, Y., Deselaers, T., Baccash, J., and Popat, A.C. (2019, January 20–25). A Scalable Handwritten Text Recognition System. Proceedings of the 2019 International Conference on Document Analysis and Recognition (ICDAR), Sydney, Australia.10.1109/ICDAR.2019.00013 ↗
4. Singh, S.S., and Karayev, S. (2021). Full Page Handwriting Recognition via Image to Sequence Extraction. arXiv, Available online: https://arxiv.org/abs/2103.06450.10.1007/978-3-030-86334-0_4 ↗
5. Huang, D.-S., Huang, Z.-K., and Hussain, A. (2019). An Algorithm of Bidirectional RNN for Offline Handwritten Chinese Text Recognition. Intelligent Computing Methodologies, Springer International Publishing.10.1007/978-3-030-26766-7_39 ↗
6. Hassan, S., Irfan, A., Mirza, A., and Siddiqi, I. (2019, January 26–28). Cursive Handwritten Text Recognition using Bi-Directional LSTMs: A Case Study on Urdu Handwriting. Proceedings of the 2019 International Conference on Deep Learning and Machine Learning in Emerging Applications (Deep-ML), Istanbul, Turkey.10.1109/Deep-ML.2019.00021 ↗
7. Nogra, J.A., Romana, C.L.S., and Maravillas, E. (2019, January 23–25). LSTM Neural Networks for Baybáyin Handwriting Recognition. Proceedings of the 2019 IEEE 4th International Conference on Computer and Communication Systems (ICCCS), Singapore.10.1109/CCOMS.2019.8821789 ↗
8. A Review of Recurrent Neural Networks: LSTM Cells and Network Architectures10.1162/neco_a_01199 ↗
9. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017). Attention Is All You Need. arXiv, Available online: http://arxiv.org/abs/1706.03762.
10. The IAM-database: An English sentence database for offline handwriting recognition10.1007/s100320200071 ↗
11. Bluche, T. (2016). Joint Line Segmentation and Transcription for End-to-End Handwritten Paragraph Recognition. arXiv.
12. Ferrari, V., Hebert, M., Sminchisescu, C., and Weiss, Y. (2018). Start, Follow, Read: End-to-End Full-Page Handwriting Recognition. Computer Vision—ECCV 20180, Springer International Publishing.
13. Asha, K., and Krishnappa, H. (2018, January 20–22). Kannada Handwritten Document Recognition using Convolutional Neural Network. Proceedings of the 2018 3rd International Conference on Computational Systems and Information Technology for Sustainable Solutions (CSITSS), Bengaluru, India.10.1109/CSITSS.2018.8768745 ↗
14. Wu, K., Fu, H., and Li, W. (2020, January 16–18). Handwriting Text-line Detection and Recognition in Answer Sheet Composition with Few Labeled Data. Proceedings of the 2020 IEEE 11th International Conference on Software Engineering and Service Science (ICSESS), Beijing, China.10.1109/ICSESS49938.2020.9237637 ↗
15. Jocher, G., Stoken, A., Chaurasia, A., Borovec, J., Xie, T., Kwon, Y., Michael, K., Changyu, L., Fang, J., and Abhiram, V. (2021, October 22). Ultralytics/Yolov5: v6.0—YOLOv5n “Nano” Models, Roboflow Integration, TensorFlow Export, OpenCV DNN Support, Zenodo. Available online: https://zenodo.org/record/5563715#.YgYOB-pByUk.
16. Thakare, S., Kamble, A., Thengne, V., and Kamble, U. (2018, January 1–2). Document Segmentation and Language Translation Using Tesseract-OCR. Proceedings of the 2018 IEEE 13th International Conference on Industrial and Information Systems (ICIIS), Rupangar, India.10.1109/ICIINFS.2018.8721372 ↗
17. Dubitzky, W., Wolkenhauer, O., Cho, K.-H., and Yokota, H. (2013). Hough Transform. Encyclopedia of Systems Biology, Springer.10.1007/978-1-4419-9863-7 ↗
18. Galamhos, C., Matas, J., and Kittler, J. (1999, January 23–25). Progressive probabilistic Hough transform for line detection. Proceedings of the 1999 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (Cat. No PR00149), Fort Collins, CO, USA.
19. The openCV library
20. Redmon, J., and Farhadi, A. (2018). YOLOv3: An Incremental Improvement. arXiv, Available online: http://arxiv.org/abs/1804.02767.
21. (2021, October 22). Tzutalin, LabelImg. Available online: https://github.com/tzutalin/labelImg.
22. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
23. Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., and Zagoruyko, S. (2020). End-to-End Object Detection with Transformers. arXiv, Available online: http://arxiv.org/abs/2005.12872.10.1007/978-3-030-58452-8_13 ↗
24. Honnibal, M., Montani, I., Van Landeghem, S., and Boyd, A. (2021, December 01). spaCy: Industrial-Strength Natural Language Processing in Python, (2020). Available online: https://zenodo.org/record/5764736#.YgYOaupByUk.
25. Tarcar, A.K., Tiwari, A., Dhaimodker, V.N., Rebelo, P., Desai, R., and Rao, D. (2019). NER Models Using Pre-Training and Transfer Learning for Healthcare. arXiv, Available online: http://arxiv.org/abs/1910.11241.
26. Lample, G., Ballesteros, M., Subramanian, S., Kawakami, K., and Dyer, C. (2016). Neural Architectures for Named Entity Recognition. arXiv, Available online: http://arxiv.org/abs/1603.01360.10.18653/v1/N16-1030 ↗
27. Wigington, C., Stewart, S., Davis, B., Barrett, B., Price, B., and Cohen, S. (2017, January 9–15). Data Augmentation for Recognition of Handwritten Words and Lines Using a CNN-LSTM Network. Proceedings of the 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR), Kyoto, Japan.10.1109/ICDAR.2017.110 ↗
28. Li, M., Lv, T., Cui, L., Lu, Y., Florencio, D., Zhang, C., Li, Z., and Wei, F. (2021). TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models. arXiv, Available online: http://arxiv.org/abs/2109.10282.
29. Visually Interpretable Representation Learning for Depression Recognition from Facial Images10.1109/TAFFC.2018.2828819 ↗
30. Zhou, B., Khosla, A., Lapedriza, A., Oliva, A., and Torralba, A. (2016, January 27–30). Learning deep features for discriminative localization. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.319 ↗