Handwritten Character Recognition using Convolution Neural Networks in Python with Keras
Abstract
In the field of Deep Learning for Computer Vision, scientists have made many enhancements that helped a lot in the development of millions of smart devices. On the other hand, scientists brought a revolutionary change in the field of image processing and one of the biggest challenges in it is to identify documents in both printed as well as hand-written formats. One of the most widely used techniques for the validity of these types of documents is ‘Character Recognition’. This project seeks to classify an individual handwritten word so that handwritten text can be translated to a digital form. It demonstrates the use of neural networks for developing a system that can recognize handwritten English alphabets. In this system, each English alphabet is represented by binary values that are used as input to a simple feature extraction system, whose output is fed to our neural network system. The CNN approach is used to accomplish this task: classifying words directly and character segmentation. For the former, Convolutional Neural Network (CNN) is used with various architectures to train a model that can accurately classify words. For the latter, Long Short Term Memory networks are used with convolution to construct bounding boxes for each character. We then pass the segmented characters to a CNN for classification, and then reconstruct each word according to the results of classification and segmentation.
References
[2] K. Badi and M. Shimura, "Machine recognition of Arabic cursive script" Trans. Inst. Electron. Commun. Eng., Vol. E65, no. 2, pp. 107-114, Feb. 1982.
[3] M Altuwaijri , M.A Bayoumi , "Arabic Text Recognition Using Neural Network" ISCAS 94. IEEE International Symposium on Circuits and systems, Volume 6, 30 May-2 June 1994.
[4] C. Bahlmann, B. Haasdonk, H. Burkhardt., “Online Handwriting Recognition with Support Vector Machine – A Kernel Approach”, In proceeding of the 8th Int. Workshop in Handwriting Recognition (IWHFR), pp 49- 54, 2002
[5] Homayoon S.M. Beigi, "An Overview of Handwriting Recognition," Proceedings of the 1st Annual Conference on Technological Advancements in Developing Countries, Columbia University, New York, July 24-25, 1993, pp. 30- 46.
[6] Nadal, C. Legault, R. Suen and C.Y, “Complementary Algorithms for Recognition of totally Unconstrained Handwritten Numerals,” in Proc. 10th Int. Conf. Pattern Recognition, 1990, vol. 1, pp. 434-449.
[7] S. Impedovo, P. Wang, and H. Bunke, editors, “Automatic Bankcheck Processing,” World Scientific, Singapore, 1997.
[8] CL Liu, K Nakashima, H Sako and H. Fujisawa, “Benchmarking of state-of- the-art techniques,” Pattern Recognition, vol. 36, no 10, pp. 2271– 2285, Oct. 2003.
[9] M. Shi, Y. Fujisawa, T. Wakabayashi and F. Kimura, “Handwritten numeral recognition using gradient and curvature of gray scale image,” Pattern Recognition, vol. 35, no. 10, pp. 2051–2059, Oct 2002.
[10] LN. Teow and KF. Loe, “Robust vision-based features and classification schemes for off-line handwritten digit recognition,” Pattern Recognition, vol. 35, no. 11, pp. 2355–2364, Nov. 2002.
[11] K. Cheung, D. Yeung and RT. Chin, “A Bayesian framework for deformable pattern recognition with application to handwritten character recognition,” IEEE Trans PatternAnalMach Intell, vol. 20, no. 12, pp. 382– 1388, Dec. 1998.
[12] I.J. Tsang, IR. Tsang and DV Dyck, “Handwritten character recognition based on moment features derived from image partition,” in Int. Conf. image processing 1998, vol. 2, pp 939–942.
[13] H. Soltanzadeh and M. Rahmati, “Recognition of Persian handwritten digits using image profiles of multiple orientations,” Pattern Recognition Lett, vol. 25, no. 14, pp. 1569–1576, Oct.2004.
[14] FN. Said, RA. Yacoub and CY Suen, “Recognition of English and Arabic numerals using a dynamic number of hidden neurons” in Proc. 5th Int Conf. document analysis and recognition, 1999, pp 237–240
[15] J. Sadri, CY. Suen, and TD. Bui, “Application of support vector machines for recognition of handwritten Arabic/Persian digits,” in Proc. 2th Iranian Conf. machine vision and image processing, 2003, vol. 1,pp 300–307.
To ensure uniformity of treatment among all contributors, other forms may not be substituted for this form, nor may any wording of the form be changed. This form is intended for original material submitted to AJCT and must accompany any such material in order to be published by AJCT. Please read the form carefully.
The undersigned hereby assigns to the Asian Journal of Convergence in Technology Issues ("AJCT") all rights under copyright that may exist in and to the above Work, any revised or expanded derivative works submitted to AJCT by the undersigned based on the Work, and any associated written, audio and/or visual presentations or other enhancements accompanying the Work. The undersigned hereby warrants that the Work is original and that he/she is the author of the Work; to the extent the Work incorporates text passages, figures, data or other material from the works of others, the undersigned has obtained any necessary permission. See Retained Rights, below.
AUTHOR RESPONSIBILITIES
AJCT distributes its technical publications throughout the world and wants to ensure that the material submitted to its publications is properly available to the readership of those publications. Authors must ensure that The Work is their own and is original. It is the responsibility of the authors, not AJCT, to determine whether disclosure of their material requires the prior consent of other parties and, if so, to obtain it.
RETAINED RIGHTS/TERMS AND CONDITIONS
1. Authors/employers retain all proprietary rights in any process, procedure, or article of manufacture described in the Work.
2. Authors/employers may reproduce or authorize others to reproduce The Work and for the author's personal use or for company or organizational use, provided that the source and any AJCT copyright notice are indicated, the copies are not used in any way that implies AJCT endorsement of a product or service of any employer, and the copies themselves are not offered for sale.
3. Authors/employers may make limited distribution of all or portions of the Work prior to publication if they inform AJCT in advance of the nature and extent of such limited distribution.
4. For all uses not covered by items 2 and 3, authors/employers must request permission from AJCT.
5. Although authors are permitted to re-use all or portions of the Work in other works, this does not include granting third-party requests for reprinting, republishing, or other types of re-use.
INFORMATION FOR AUTHORS
AJCT Copyright Ownership
It is the formal policy of AJCT to own the copyrights to all copyrightable material in its technical publications and to the individual contributions contained therein, in order to protect the interests of AJCT, its authors and their employers, and, at the same time, to facilitate the appropriate re-use of this material by others.
Author/Employer Rights
If you are employed and prepared the Work on a subject within the scope of your employment, the copyright in the Work belongs to your employer as a work-for-hire. In that case, AJCT assumes that when you sign this Form, you are authorized to do so by your employer and that your employer has consented to the transfer of copyright, to the representation and warranty of publication rights, and to all other terms and conditions of this Form. If such authorization and consent has not been given to you, an authorized representative of your employer should sign this Form as the Author.
Reprint/Republication Policy
AJCT requires that the consent of the first-named author and employer be sought as a condition to granting reprint or republication rights to others or for permitting use of a Work for promotion or marketing purposes.
GENERAL TERMS
1. The undersigned represents that he/she has the power and authority to make and execute this assignment.
2. The undersigned agrees to indemnify and hold harmless AJCT from any damage or expense that may arise in the event of a breach of any of the warranties set forth above.
3. In the event the above work is accepted and published by AJCT and consequently withdrawn by the author(s), the foregoing copyright transfer shall become null and void and all materials embodying the Work submitted to AJCT will be destroyed.
4. For jointly authored Works, all joint authors should sign, or one of the authors should sign as authorized agent
for the others.
Licenced by :
Creative Commons Attribution 4.0 International License.
