Skip to content

harshaldesai01/Math-Expression-Recognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math Expression Recognizer(Keras)

Handwritten Mathematical Expression Recognition System. The Project is built using Keras library.

Dataset

The dataset used in the project contains 2258 instances of labelled handwritten mathematical equations in InkML format.

The model has been trained on Image data which was obtained by conversion of this InkML data to 28,173 images of 75 classes of unique mathematical expression.

Model

Model Architecture

Performance

The model achieves an accuracy of 94.29% on the validation data.

Train Log

The accuracy achieved is pretty decent considering the uneven distribution of images in various classes: Class Distribution

Scripts

inkml2img.py: The code for extracting traces of different expressions from a given InkML format equation.
convert.py: Converts InkML files to images.
run_model.py: Contains code to build the Deep Learning architecture and train the converted images on the Deep Learning model.
training_monitor.py: It monitors the training based on the validation loss to avoid overfitting.

References

InkML to Image conversion credits: https://github.com/RobinXL/inkml2img

About

Identifying Handwritten Mathematical Expressions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published