A Novel Method for Persian Handwritten Digit Recognition Using Support Vector Machine

  • Mojtaba Mohammadpoor Electrical and Computer Engineering Department, University of Gonabad, Gonabad, Iran,
  • Abbas Mehdizadeh Department of Electrical and Computer Engineering, University of Gonabad, Gonabad
  • Hava Alizadeh Noghabi Department of Computing, Nilai University, Negeri Sembilan
Keywords: Histogram of oriented gradients (HOG), Principle component analysis (PCA), Support vector machine (SVM).


Handwritten digit recognition has got a special role in different applications in the field of digital recognition including; handwritten address detection, check, and document. Persian handwritten digits classification has been facing difficulties due to different handwritten styles, inter-class similarities, and intra-class differences.  In this paper, a novel method for detecting Persian handwritten digits is presented. In the proposed method, a combination of Histogram of Oriented Gradients (HOG), 4-side profiles of the digit image, and some horizontal and vertical samples was used and the dimension of the feature vector was reduced using Principal Component Analysis (PCA). The proposed method applied to the HODA database, and Support Vector Machine (SVM) was used in the classification step. Results revealed that the detection accuracy of such method has 99% accuracy with an adequate rate due to existing unacceptable samples in the database, therefore, the proposed method could improve the outcomes compared to other existing methods.


[1] W.M. Pan, T.D. Bui, and C.Y. Suen. "Isolated Handwritten Farsi numerals Recognition Using Sparse And Over-Complete Representations". In 10th International Conference on Document Analysis and Recognition(2009).586 – 590.
[2] Hamid Salimi, DavarGiveki. Farsi/Arabic handwritten digit recognition based on ensemble of SVD classifiers and reliable multi-phase PSO combination rule. International Journal on Document Analysis and Recognition (IJDAR) , Volume 16, Issue 4, 2013, pp 371-386
[3] Wang, Jeen-Shing; Fang-Chen Chuang, "An Accelerometer-Based Digital Pen With a Trajectory Recognition Algorithm for Handwritten Digit and Gesture Recognition," in Industrial Electronics, IEEE Transactions on , vol.59, no.7, pp.2998-3007, July 2012
[4] Labusch, K.; Barth, E.; Martinetz, T., "Simple Method for High-Performance Digit Recognition Based on Sparse Coding," in Neural Networks, IEEE Transactions on , vol.19, no.11, pp.1985-1989, Nov. 2008
[5] Cireşan, D; Meier, U; Gambardella, L; Schmidhuber, J, "Deep, Big, Simple Neural Nets for Handwritten Digit Recognition," in Neural Computation , vol.22, no.12, pp.3207-3220, Dec. 2010
[6] Hasan Soltanzadeh, Mohammad Rahmati, “Recognition of Persian handwritten digits using image profiles of multiple orientations, Pattern Recognition Letters,” Volume 25, Issue 14, 15 October 2004, Pages 1569-1576, ISSN 0167-8655,
[7] Nooraliei, A., "Persian handwritten digits recognition by using zoning and histogram projection," in AI & Robotics and 5th RoboCup Iran Open International Symposium (RIOS), 2013 3rd Joint Conference of , vol., no., pp.1-5, 8-8 April 2013
[8] http://farsiocr.ir/farsi-digit-dataset, retrieved at 3rd, march,2015
[9] Alaei, Alireza, Umapada Pal, and P. Nagabhushan. "Using modified contour features and SVM based classifier for the recognition of Persian/Arabic handwritten numerals." Advances in Pattern Recognition, 2009. ICAPR'09. Seventh International Conference on. IEEE, 2009.
[10] Ebrahimpour, Reza, Alireza Esmkhani, and Soheil Faridi. "Farsi handwritten digit recognition based on mixture of RBF experts." IEICE Electronics Express 7.14 (2010): 1014-1019.
[11] Abdi, Mohammad Javad, and H. A. M. I. D. Salimi. "Farsi handwriting recognition with mixture of RBF experts based on particle swarm optimization." International Journal of Information Science and Computer Mathematics 2.2 (2010): 129-136.
[12] Kamble, Parshuram M., and Ravinda S. Hegadi. "Handwritten Marathi Character Recognition Using R-HOG Feature." Procedia Computer Science 45 (2015): 266-274.
[13] Iamsa-at, S.; Horata, P., "Handwritten Character Recognition Using Histograms of Oriented Gradient Features in Deep Learning of Artificial Neural Network," IT Convergence and Security (ICITCS), 2013 International Conference on , vol., no., pp.1,5, 16-18 Dec. 2013
[14] Neera Saxena, Qasima Abbas Kazmi, Chandra Pal and O.P. Vyas, “Employing Neocognitron Neural Network Base Ensemble Classifiers To Enhance Efficiency of Classification In Handwritten Digit Datasets.” D.C. Wyld, et al. (Eds): CCSEA 2011, CS & IT 02, pp. 408–416, 2011.
[15] Lowe, David G. "Distinctive image features from scale-invariant keypoints."International journal of computer vision 60.2 (2004): 91-110.
[16] Dalal, Navneet, and Bill Triggs. "Histograms of oriented gradients for human detection." Computer Vision and Pattern Recognition,” 2005. CVPR 2005. IEEE Computer Society Conference on. Vol. 1. IEEE, 2005.
[17] Ebrahimzadeh, Reza, and Mahdi Jampour. "Efficient Handwritten Digit Recognition based on Histogram of Oriented Gradients and SVM." International Journal of Computer Applications 104.9 (2014).
How to Cite
Mohammadpoor, M., Mehdizadeh, A., & Alizadeh Noghabi, H. (2018). A Novel Method for Persian Handwritten Digit Recognition Using Support Vector Machine. Majlesi Journal of Electrical Engineering, 12(3), 63-67. Retrieved from http://mjee.iaumajlesi.ac.ir/index/index.php/ee/article/view/2338