Coder Social home page Coder Social logo

sfmajors373 / autograding-handwritten-mathematical-worksheets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from divyaprabha123/autograding-handwritten-mathematical-worksheets

0.0 1.0 0.0 9.19 MB

Image processing and computer vision model to automatically evaluate and grade handwritten mathematical equations

Home Page: https://towardsdatascience.com/computer-vision-auto-grading-handwritten-mathematical-answersheets-8974744f72dd

Jupyter Notebook 99.72% Python 0.28%

autograding-handwritten-mathematical-worksheets's Introduction

Auto-grading of handwritten mathematical worksheets

This repo is the part of internship project with Bosch/RBEI-EDS2. Aim of this project is to digitize the steps of solving a mathematical equation written by freehand on a paper, validating the steps and final answer of the recognized handwritten lines by maintaining the context.

Workflow

alt text As shown, the overall solution can be divided into the following two parts:

  • Workspace Detection module
  • Analysis Module

Workspace Detection module is responsible for detecting multiple workspaces in a given sheet of paper using pre-defined markers.

Analysis module is responsible for detecting and localizing characters in lines in any given single workspace, and mathematically analyzing them and then drawing red, green lines depending upon their correctness.

For more detailed description on the workflow see Report.pdf

Example

Each line is corrected separately

  1. Green Box represents - Line is correct
  2. Red Box represents - Line is incorrect alt-text

Target algebraic equation A * X2 + B * Y

Where A = 56, B = 7, X = 3, Y = 13

Line No Equation written Expected Ans Actual Ans Status
1 56 * 32 + 7 * 13 595 595 Correct
2 56 * 7 + 92 595 484 Incorrect
3 595 + 92 595 687 Incorrect
4 595 595 595 Correct

For more detailed description on the workflow see Report.pdf

To evaluate and test

Example_worksheet.ipynb

Character Recognition

Use this link to download the DCCNN model for OCR part of the analysis pipeline

autograding-handwritten-mathematical-worksheets's People

Contributors

amrrs avatar divyaprabha123 avatar

Watchers

 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.