Open Access iconOpen Access

ARTICLE

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

Syed Atir Raza1,2, Muhammad Shoaib Farooq1, Uzma Farooq3, Hanen Karamti 4, Tahir Khurshaid5,*, Imran Ashraf6,*

1 Department of Computer Science, School of System and Technology, University of Management and Technology, Lahore, 54000, Pakistan
2 Department of Applied Computing Technologies, FoIT&CS, University of Central Punjab, Lahore, 54590, Pakistan
3 Department of Software Engineering, University of Management and Technology, Lahore, 54000, Pakistan
4 Department of Computer Sciences, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh, 11671, Saudi Arabia
5 Department of Electrical Engineering, Yeungnam University, Gyeongsan, 38541, Republic of Korea
6 Department of Information and Communication Engineering, Yeungnam University, Gyeongsan, 38541, Republic of Korea

* Corresponding Authors: Tahir Khurshaid. Email: email; Imran Ashraf. Email: email

(This article belongs to the Special Issue: Enhancing AI Applications through NLP and LLM Integration)

Computers, Materials & Continua 2025, 84(2), 3149-3173. https://doi.org/10.32604/cmc.2025.063255

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.

Keywords

Image processing; natural language processing; handwritten Urdu characters; optical character recognition; deep learning; feature extraction; classification

Cite This Article

APA Style
Raza, S.A., Farooq, M.S., Farooq, U., Karamti, H., Khurshaid, T. et al. (2025). A Convolutional Neural Network Based Optical Character Recognition for Purely Handwritten Characters and Digits. Computers, Materials & Continua, 84(2), 3149–3173. https://doi.org/10.32604/cmc.2025.063255
Vancouver Style
Raza SA, Farooq MS, Farooq U, Karamti H, Khurshaid T, Ashraf I. A Convolutional Neural Network Based Optical Character Recognition for Purely Handwritten Characters and Digits. Comput Mater Contin. 2025;84(2):3149–3173. https://doi.org/10.32604/cmc.2025.063255
IEEE Style
S. A. Raza, M. S. Farooq, U. Farooq, H. Karamti, T. Khurshaid, and I. Ashraf, “A Convolutional Neural Network Based Optical Character Recognition for Purely Handwritten Characters and Digits,” Comput. Mater. Contin., vol. 84, no. 2, pp. 3149–3173, 2025. https://doi.org/10.32604/cmc.2025.063255



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 2200

    View

  • 1266

    Download

  • 0

    Like

Share Link