journal article·2023-01-27Open access

Recognition and Classification of Handwritten Urdu Numerals Using Deep Learning Techniques

Aamna Bhatti, Ameera Arif, Waqar Khalid, Baber Khan, Ahmad Ali, Shehzad Khalid, Atiq ur Rehman

Applied Sciences· Volume 13· Issue 3

Abstract

Urdu is a complex language as it is an amalgam of many South Asian and East Asian languages; hence, its character recognition is a huge and difficult task. It is a bidirectional language with its numerals written from left to right while script is written in opposite direction which induces complexities in the recognition process. This paper presents the recognition and classification of a novel Urdu numeral dataset using convolutional neural network (CNN) and its variants. We propose custom CNN model to extract features which are used by Softmax activation function and support vector machine (SVM) classifier. We compare it with GoogLeNet and the residual network (ResNet) in terms of performance. Our proposed CNN gives an accuracy of 98.41% with the Softmax classifier and 99.0% with the SVM classifier. For GoogLeNet, we achieve an accuracy of 95.61% and 96.4% on ResNet. Moreover, we develop datasets for handwritten Urdu numbers and numbers of Pakistani currency to incorporate real-life problems. Our models achieve best accuracies as compared to previous models in the literature for optical character recognition (OCR).
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Handwritten Text Recognition Techniques · Vehicle License Plate Recognition · Currency Recognition and Detection

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

Affiliations

School of Electrical Engineering and Computer Science, National University of Sciences and Technology, Islamabad 24090, Pakistan

Computer Engineering Department, Bahria University, Islamabad 44000, Pakistan

Department of Electrical and Computer Engineering, International Islamic University, Islamabad 04436, Pakistan

Department of Software Engineering, Bahria University, Islamabad 44000, Pakistan

Artificial Intelligence and Intelligent Systems Research Group, School of Innovation, Design and Engineering, Mälardalen University, Högskoleplan 1, 722 20 Västerås, Sweden

References (42)

Show source-provided references
1. A Literature Review on Handwritten Character Recognition based on Artificial Neural Network
2. (2020, June 09). The Online Encyclopedia of Writing Systems and Languages. Available online: https://www.omniglot.com/writing/urdu.htm.
3. Spitz, A.L., and Andreas, D. (1995). Proceedings of the International Association for Pattern Recognition Workshop, World Scientific.
4. Sharif, M., Ul-Hasan, A., and Shafait, F. (2022, January 4–7). Urdu Handwritten Ligature Generation Using Generative Adversarial Networks (GANs). Proceedings of the Frontiers in Handwriting Recognition: 18th International Conference, ICFHR 2022, Hyderabad, India.10.1007/978-3-031-21648-0_29 ↗
5. Recognition of offline handwritten Urdu characters using RNN and LSTM models10.1007/s11042-022-13320-1 ↗
6. Gautam, N., Sharma, R.S., and Hazrati, G. (2015, January 12–14). Eastern Arabic Numerals: A Stand out from Other Jargons. Proceedings of the International Conference on Computational Intelligence and Communication Networks (CICN), Jabalpur, India.10.1109/CICN.2015.73 ↗
7. Handwritten Optical Character Recognition (OCR): A Comprehensive Systematic Literature Review (SLR)10.1109/ACCESS.2020.3012542 ↗
8. A Mechanism for Offline Character Recognition10.22214/ijraset.2019.4194 ↗
9. Stacking ensemble model of deep learning and its application to Persian/Arabic handwritten digits recognition10.1016/j.knosys.2021.106940 ↗
10. A genetic algorithm based region sampling for selection of local features in handwritten digit recognition application10.1016/j.asoc.2011.11.030 ↗
11. A study on font-family and font-size recognition applied to Arabic word images at ultra-low resolution10.1016/j.patrec.2012.09.012 ↗
12. (2020, June 11). Center for Language Engineering Urdu Ligatures from Corpus Page. Available online: http://www.cle.org.pk/software/ling_resources/UrduLigaturesfromCorpus.htm.
13. Preprocessing Phase for Offline Arabic Handwritten Character Recognition
14. Borse, R., and Ansari, I.A. (2015). Offline Handwritten and Printed Urdu Digits Recognition using Daubechies Wavelet, ER Publication.
15. Kumar, G., and Bhatia, P.K. (2013, January 21–22). Analytical Review of Preprocessing Techniques for Offline Handwritten Character Recognition. Proceedings of the 2nd International Conference on Emerging Trends in Engineering Trends in Engineering and Management ICETEM, Rohtak India.
16. An Online and Offline Character Recognition Using Image Processing Methods—A Survey
17. Online and offline handwritten Chinese character recognition: Benchmarking on new databases10.1016/j.patcog.2012.06.021 ↗
18. Baker, P., Hardie, A., McEnery, T., Cunningham, H., and Gaizauskas, R.J. (2002, January 29–31). EMILLE, A 67-Million Word Corpus of Indic Languages: Data Collection, Mark-up and Harmonisation. Proceedings of the Third International Conference on Language Resources and Evaluation (LREC’02) LREC, Las Palmas, Canary Islands Spain.
19. Hand-written Urdu Numerals Recognition Using Kohonen Self Organizing Maps
20. Razzak, M.I., Hussain, S.A., Belaid, A., and Sher, M. Multi-font Numerals Recognition for Urdu Script based Languages. Int. J. Recent Trends Eng., 2009.
21. Kour, H., and Gondhi, N.K. (2020, January 23). Machine Learning approaches for Nastaliq style Urdu handwritten recognition: A survey. Proceedings of the 6th Communication International Systems Conference (ICACCSon) Advanced, Coimbatore, India.10.1109/ICACCS48705.2020.9074294 ↗
22. Yusuf, M., and Haider, T. (2004). Recognition of Handwritten Urdu Digits using Shape Context. INMIC.
23. Iqbal, T., Ali, H., Saad, M.M., Khan, S., and Tanougast, C. (2019, January 18–21). CapsuleNet for Urdu Digits Recognition. Proceedings of the 10th IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications, Metz, France.10.1109/IDAACS.2019.8924362 ↗
24. Comparing Arabic and Latin Handwritten Digits Recognition Problems
25. Abdelazeem, S., and El-Sherif, E. (2020, May 14). The Arabic Handwritten Digits Databases ADBase & MADBase. Available online: http://datacenter.aucegypt.edu/shazeem/.
26. Evaluation of Handwritten Urdu Text by Integration of MNIST Dataset Learning Experience10.1109/ACCESS.2019.2946313 ↗
27. Efficient Handwritten Digit Recognition based on Histogram of Oriented Gradients and SVM
28. BDNet: Bengali Handwritten Numeral Digit Recognition based on Densely connected Convolutional Neural Networks
29. Classification of Handwritten Devanagari Number An analysis of Pattern Recognition Tool using Neural Network and CNN10.1016/j.procs.2020.03.297 ↗
30. Hybrid CNN-SVM Classifier for Handwritten Digit Recognition10.1016/j.procs.2020.03.309 ↗
31. Evolutionary Convolutional Neural Networks: An Application to Handwriting Recognition10.1016/j.neucom.2017.12.049 ↗
32. Sabbour, N., and Shafait, F. (2013, January 3–7). A segmentation-free approach to Arabic and Urdu OCR. Proceedings of the SPIE 8658, Document Recognition and Retrieval XX, 86580N, Burlingame, CA, USA.10.1117/12.2003731 ↗
33. Handwritten Urdu character recognition using one-dimensional BLSTM classifier10.1007/s00521-017-3146-x ↗
34. LeCun, Y. (2020, June 14). The MNIST DATABASE of handwritten digits. Available online: http://yann.lecun.com/exdb/mnist/.
35. A survey on Image Data Augmentation for Deep Learning10.1186/s40537-019-0197-0 ↗
36. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
37. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 7–12). Going deeper with convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA.10.1109/CVPR.2015.7298594 ↗
38. Prabhu, R. (2020, June 14). CNN Architectures—LeNet, AlexNet, VGG, GoogLeNet and ResNet. Available online: https://medium.com/@RaghavPrabhu/cnn-architectures-lenet-alexnet-vgg-googlenet-and-resnet-7c81c017b84.
39. Dropout vs. batch normalization: An empirical study of their impact to deep learning10.1007/s11042-019-08453-9 ↗
40. Husnain, M., Missen, M.M.S., Mumtaz, S., Jhanidr, M.Z., Coustaty, M., Muzzamil Luqman, M., Ogier, J.M., and Choi, G.S. (2019). Recognition of Urdu Handwritten Characters Using Convolutional Neural Network. Appl. Sci., 9.10.3390/app9132758 ↗
41. Multi-Digit Handwritten Sindhi Numerals Recognition using SOM Neural Network10.22581/muet1982.1704.14 ↗
42. Malik, S., and Khan, S.A. (2005, January 18). Urdu online handwriting recognition. Proceedings of the IEEE Symposium on Emerging Technologies, Islamabad, Pakistan.