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

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的分类器是手写源代码字符识别任务的强大工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
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
期刊最新文献
Giresun İline ait Coğrafi Bilgi Sistemleri Destekli Heyelan Duyarlılık Haritalarının Üretilmesi Determination Of Sediment Yield By Suspended Solids Karbon Nanotüp Nanoakışkanının Geriye Dönük Adım Akışında Isı Transferi ve Akış Karakteristiğinin Araştırılması Pedestrian and Vehicles Detection with ResNet in Aerial Images ISO/IEC 27037, ISO/IEC 27041, ISO/IEC 27042 ve ISO/IEC 27043 Standartlarına Göre Sayısal Kanıtlar
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1