Skip to content

A PyTorch CNN (94% accuracy) and OpenCV-based tool to recognize and solve handwritten equations (e.g., "5+8=13") using Kaggle’s Handwritten Digits and Operators dataset. Inspired by iPad Calculator Notes.

License

Notifications You must be signed in to change notification settings

CodeWithMoin/FreehandEquationSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Freehand Equation Solver

A PyTorch CNN recognizing handwritten digits (0-9) and operators (+, -) from Kaggle’s Handwritten Digits and Operators dataset, achieving 94% accuracy. Uses OpenCV to segment freehand equations (e.g., "5+8=") and solves them (e.g., "5+8=13"). Inspired by iPad Calculator Notes.

Features

  • CNN-based classification of digits and operators.
  • OpenCV segmentation for freehand input.
  • Solves basic arithmetic expressions.

Results

  • Input: "5+8=" → Output: "5+8=13"
  • Note: Ongoing tuning for equations like "9-5=" to improve operator detection.

Setup

Demo

Result

About

A PyTorch CNN (94% accuracy) and OpenCV-based tool to recognize and solve handwritten equations (e.g., "5+8=13") using Kaggle’s Handwritten Digits and Operators dataset. Inspired by iPad Calculator Notes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published