Coder Social home page Coder Social logo

gigabytezx1 / arithmetic-evaluator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from legendarygene/arithmetic-evaluator

0.0 0.0 0.0 63.8 MB

CNN based Model to Evaluate Handwritten Arithmetic Expressions

License: MIT License

Python 1.42% Jupyter Notebook 98.58%

arithmetic-evaluator's Introduction

Arithmetic-Evaluator

CNN based Model to Evaluate Handwritten Arithmetic Expressions The model is trained to detect singular images of digits 0-9 and arithmetic symbols, and predict the labels. The run notebook takes in an expression,uses image processing and contouring to extract individual digits and operators and send them to the model for prediction. Upon identification, basic python operations are used to get the answer

All Data

Folder containing Training and Testing data used for the model. The Training data is a mix of images available online as well as self-written and augmented images, while the Test data is entirely self-built, with the help of various people to incorporate the factor of different handwritings

Final Testing

Folder to place images to test the final model. The model correctly predicts the answers to the given expressions

Train Model

Jupyter Notebook containing the architecture and the code to train the CNN model. The hyperparameters can be tweaked to get better performance. With the Dataset included in the Repo, I got around 95% accuracy on the testing data

Run Model

Jupyter Notebbok that uses OpenCV and Python to preprocess and contour the input images into individual components to feed to the model, all implemented by self. After getting the labels, the script evaluates and prints the answer

Better Model

Pointer to self to further improve the model. Also need to remove the dependency of OpenCV and introduce a DNN to predict the bounding boxes of each individual character, since contouring is unreliable

arithmetic-evaluator's People

Contributors

legendarygene avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.