Skip to content
Research Article Peer ReviewedAt least two reviewers Open Access

Recognition of Handwritten Source Code Characters With Deep Neural Networks

1Dokuz Eylul University
✉ Corresponding author: Metehan Makinacı · metehan.makinaci@deu.edu.tr
PDF BibTeX RIS

Abstract

In this paper we presents an application of deep learning techniques to recognize handwritten source code characters. Although there are many works on the handwritten character recognition (HCR) problem, very few works have been done about the offline handwritten source code character recognition. The problem includes the recognition of source code specific characters. We designed and implemented an application, performing preprocessing, histogram based segmentation and normalization on the scanned documents of exam papers which include codes that were written in C programming language. Constructed dataset includes 7093 source code character samples. We enriched this dataset with character samples from the CROHME database by transforming them to offline samples. With resulting 95 classes of 16275 samples, we trained and tested several models of convolutional neural networks (CNN). CNN is a deep learning architecture which is shown to produce state-of-the-art performance rates for handwritten character recognition tasks as well as for various other computer vision applications. Experimental evaluations gave performance rates between 90.53% and 94.09%. We conclude that CNN based classifiers are powerful tools for handwritten source code character recognition task.

Keywords

Cite this article

Kılıçlar, B., & Makinacı, M. (2019). Recognition of Handwritten Source Code Characters With Deep Neural Networks. In 4th International Symposium on Innovative Approaches in Engineering and Natural Sciences (pp. 431–436). SET Technology. https://doi.org/10.36287/setsci.4.6.111

Article History

Published
22 Dec 2019

License

© 2019 SET Technology. This article is distributed under the terms of the CC BY 4.0.

Research Contributions (2019+)Peer reviewed by at least two reviewers
Open AccessCC BY 4.0
Open Discovery Metadata · DOI · OAI-PMH
Global Reachresearchers worldwide