Online Handwritten Mathematical Expression Solver Using Artificial Neural Network

Kanchi Tank
{"title":"Online Handwritten Mathematical Expression Solver Using Artificial Neural Network","authors":"Kanchi Tank","doi":"10.1109/GCAT52182.2021.9587866","DOIUrl":null,"url":null,"abstract":"Mathematics plays a predominant role in each of our lives. When it comes to solving a mathematical expression, we are highly dependent on the calculators that are available in almost every electronic gadget. Since all these gadgets are touchscreen-based nowadays, building a system that recognizes and solves online handwritten mathematical expressions is the potential area of this research. Recognition of online handwritten mathematical expressions is a complicated task. In this paper, an Artificial Neural Network model is built for the recognition of handwritten digits, operators, and symbols. Tkinter GUI interface is built for the users to type in their expressions and image processing is done by capturing an image from the canvas and converting it into a NumPy array and then applying the thresholding technique to convert it into a binary array. Connected component labeling is done to separate every number and symbol on the canvas. These numbers and symbols are then sent to the artificial neural network for predictions. The model gave a training accuracy of 98.97% and a test accuracy of 98.95%. Finally, the expression is evaluated, and the translated expression and output are shown on the Tkinter GUI interface.","PeriodicalId":436231,"journal":{"name":"2021 2nd Global Conference for Advancement in Technology (GCAT)","volume":"40 5","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 2nd Global Conference for Advancement in Technology (GCAT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GCAT52182.2021.9587866","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Mathematics plays a predominant role in each of our lives. When it comes to solving a mathematical expression, we are highly dependent on the calculators that are available in almost every electronic gadget. Since all these gadgets are touchscreen-based nowadays, building a system that recognizes and solves online handwritten mathematical expressions is the potential area of this research. Recognition of online handwritten mathematical expressions is a complicated task. In this paper, an Artificial Neural Network model is built for the recognition of handwritten digits, operators, and symbols. Tkinter GUI interface is built for the users to type in their expressions and image processing is done by capturing an image from the canvas and converting it into a NumPy array and then applying the thresholding technique to convert it into a binary array. Connected component labeling is done to separate every number and symbol on the canvas. These numbers and symbols are then sent to the artificial neural network for predictions. The model gave a training accuracy of 98.97% and a test accuracy of 98.95%. Finally, the expression is evaluated, and the translated expression and output are shown on the Tkinter GUI interface.
使用人工神经网络的在线手写数学表达式求解器
数学在我们每个人的生活中都扮演着重要的角色。当涉及到解决一个数学表达式时,我们高度依赖计算器,几乎每个电子设备都有计算器。由于现在所有这些小工具都是基于触摸屏的,因此建立一个识别和解决在线手写数学表达式的系统是本研究的潜在领域。在线手写数学表达式的识别是一项复杂的任务。本文建立了一种用于手写体数字、运算符和符号识别的人工神经网络模型。Tkinter GUI界面是为用户输入他们的表达式而构建的,图像处理是通过从画布上捕获图像并将其转换为NumPy数组,然后应用阈值技术将其转换为二进制数组来完成的。连接组件标签是为了分离画布上的每个数字和符号。然后将这些数字和符号发送给人工神经网络进行预测。该模型的训练准确率为98.97%,测试准确率为98.95%。最后,对表达式求值,并在Tkinter GUI界面上显示翻译后的表达式和输出。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信