用深度神经网络识别手写源代码字符

Barış Kılıçlar, Metehan Makinaci
{"title":"用深度神经网络识别手写源代码字符","authors":"Barış Kılıçlar, Metehan Makinaci","doi":"10.36287/setsci.4.6.111","DOIUrl":null,"url":null,"abstract":"In this paper we present 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 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 17748 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 95.43% and 97.49%. We conclude that CNN based classifiers are powerful tools for handwritten source code character recognition task.","PeriodicalId":6817,"journal":{"name":"4th International Symposium on Innovative Approaches in Engineering and Natural Sciences Proceedings","volume":"1 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2019-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Recognition of Handwritten Source Code Characters With Deep Neural Networks\",\"authors\":\"Barış Kılıçlar, Metehan Makinaci\",\"doi\":\"10.36287/setsci.4.6.111\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper we present 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 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 17748 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 95.43% and 97.49%. We conclude that CNN based classifiers are powerful tools for handwritten source code character recognition task.\",\"PeriodicalId\":6817,\"journal\":{\"name\":\"4th International Symposium on Innovative Approaches in Engineering and Natural Sciences Proceedings\",\"volume\":\"1 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-07-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"4th International Symposium on Innovative Approaches in Engineering and Natural Sciences Proceedings\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.36287/setsci.4.6.111\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"4th International Symposium on Innovative Approaches in Engineering and Natural Sciences Proceedings","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.36287/setsci.4.6.111","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在本文中,我们提出了一个应用深度学习技术来识别手写源代码字符。虽然针对手写字符识别(HCR)问题的研究很多,但针对离线手写源代码字符识别的研究却很少。该问题包括对源代码特定字符的识别。我们设计并实现了一个应用程序,对试卷扫描文档进行预处理、基于直方图的分割和归一化,其中包含用C语言编写的代码。构建的数据集包括7093个源代码字符样本。我们通过将CROHME数据库中的字符样本转换为离线样本来丰富该数据集。得到95类17748个样本,我们训练和测试了卷积神经网络(CNN)的几个模型。CNN是一种深度学习架构,它被证明可以为手写字符识别任务以及各种其他计算机视觉应用程序产生最先进的性能。实验评价结果表明,性能率在95.43% ~ 97.49%之间。我们得出结论,基于CNN的分类器是手写源代码字符识别任务的强大工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Recognition of Handwritten Source Code Characters With Deep Neural Networks
In this paper we present 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 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 17748 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 95.43% and 97.49%. We conclude that CNN based classifiers are powerful tools for handwritten source code character recognition task.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信