journal article·2025Open access

A Convolutional Neural Network Based Optical Character Recognition for Purely Handwritten Characters and Digits

Syed Atir Raza, Muhammad Shoaib Farooq, Uzma Farooq, Hanen Karamti, Tahir Khurshaid, Imran Ashraf

Computers, Materials & Continua· Volume 84· Issue 2

Abstract

Urdu, a prominent subcontinental language, serves as a versatile means of communication. However, its handwritten expressions present challenges for optical character recognition (OCR). While various OCR techniques have been proposed, most of them focus on recognizing printed Urdu characters and digits. To the best of our knowledge, very little research has focused solely on Urdu pure handwriting recognition, and the results of such proposed methods are often inadequate. In this study, we introduce a novel approach to recognizing Urdu pure handwritten digits and characters using Convolutional Neural Networks (CNN). Our proposed method utilizes convolutional layers to extract important features from input images and classifies them using fully connected layers, enabling efficient and accurate detection of Urdu handwritten digits and characters. We implemented the proposed technique on a large publicly available dataset of Urdu handwritten digits and characters. The findings demonstrate that the CNN model achieves an accuracy of 98.30% and an F1 score of 88.6%, indicating its effectiveness in detecting and classifying Urdu handwritten digits and characters. These results have far-reaching implications for various applications, including document analysis, text recognition, and language understanding, which have previously been unexplored in the context of Urdu handwriting data. This work lays a solid foundation for future research and development in Urdu language detection and processing, opening up new opportunities for advancement in this field.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Handwritten Text Recognition Techniques · Image Processing and 3D Reconstruction

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (39)

Show source-provided references
1. Moving past indirect proxies for language experience: ‘Native speaker’ and residential history are poor predictors of language behavior
2. Representation of indigenous languages employing a religious screen for the discursive construction of students’ postcolonial national identities: a curious case of ‘internal colonisation’ and ‘cultural invasion’ in Pakistani schools10.1002/berj.3827 ↗
3. A survey of optical character recognition techniques on indic script10.1149/10701.6507ecst ↗
4. Optical character recognition techniques: a review
5. Research and application of deep learning in image recognition
6. Single check method of relay protection fixed value based on OCR image recognition
7. Wild OCR: deep learning architecture for text recognition in images
8. Nikoghosyan · Main trends in the development of science in the XXI century · 2022 · 35
9. Improvement in OCR technologies in postal industry using CNN-RNN architecture: literature review
10. Intelligent arabic handwriting recognition using different standalone and hybrid CNN architectures10.3390/app121910155 ↗
11. A comparative study on handwriting digit recognition using neural networks
12. Urdu signboard detection and recognition using deep learning10.1007/s11042-020-10175-2 ↗
13. Kashif M. Urdu handwritten text recognition using ResNet18. arXiv:2103.05105. 2021.
14. OCR-nets: variants of pre-trained CNN for Urdu handwritten character recognition via transfer learning10.1016/j.procs.2020.04.248 ↗
15. Deep extreme learning machine-based optical character recognition system for nastalique Urdu-like script languages10.1093/comjnl/bxaa042 ↗
16. Optical character recognition system for Nastalique Urdu-like script languages using supervised learning10.1142/S0218001419530045 ↗
17. MMU-OCR-21: towards end-to-end Urdu text recognition using deep learning10.1109/ACCESS.2021.3110787 ↗
18. A novel normal to tangent line (NTL) algorithm for scale invariant feature extraction for Urdu OCR10.1007/s10032-021-00389-x ↗
19. Recognition of offline handwritten Urdu characters using RNN and LSTM models10.1007/s11042-022-13320-1 ↗
20. ADOCRNet: a deep learning OCR for Arabic documents recognition10.1109/ACCESS.2024.3379530 ↗
21. DeepNet-WI: a deep-net model for offline Urdu writer identification10.1007/s12530-023-09504-1 ↗
22. Adapting multilingual vision language transformers for low-resource Urdu optical character recognition (OCR)10.7717/peerj-cs.1964 ↗
23. ET-Network: a novel efficient transformer deep learning model for automated Urdu handwritten text recognition10.1371/journal.pone.0302590 ↗
24. Mustafa A, Rafique MT, Baig MI, Sajid H, Khan MJ, Kallu KD. A permuted autoregressive approach to word-level recognition for Urdu digital text. arXiv:2408.15119. 2024.
25. Hate speech and target community detection in nastaliq urdu using transfer learning techniques10.1109/ACCESS.2024.3444188 ↗
26. Abolghasemi · Technology in second language writing · 2023 · 152
27. Digitization of handwritten Devanagari text using CNN transfer learning-A better customer service support10.1016/j.neuri.2021.100016 ↗
28. Sankara Babu · A fusion of artificial intelligence and internet of things for emerging cyber systems · 2022 · 227
29. Chaudhuri · Optical character recognition systems · 2017
30. Thorat · ICT analysis and applications · 2022 · 71910.1007/978-981-16-5655-2_69 ↗
31. Ali H. UHaT: urdu handwritten text dataset; 2020 [Internet]. [cited 2025 May 15]. Available from: https://www.kaggle.com/datasets/hazrat/uhat-urdu-handwritten-text-dataset.
32. Learning attention representation with a multi-scale CNN for gear fault diagnosis under different working conditions10.3390/s20041233 ↗
33. Review of convolutional neural networks
34. Learning filter basis for convolutional neural network compression
35. Understanding of a convolutional neural network
36. Cursive handwritten text recognition using bi-directional LSTMs: a case study on Urdu handwriting
37. Recognition of Urdu handwritten characters using convolutional neural network10.3390/app9132758 ↗
38. Handwritten Urdu character recognition using one-dimensional BLSTM classifier10.1007/s00521-017-3146-x ↗
39. A convolutional recursive deep architecture for unconstrained Urdu handwriting recognition10.1007/s00521-021-06498-2 ↗