← all repositories

Roujack/mathAI

A photo-based math problem solver that uses a CNN for character recognition and compiler techniques to parse and evaluate arithmetic expressions.

mathAI
Velocity · 7d
+0.8
★ / day
Trend
steady
star history

This project implements a complete pipeline for solving math problems from images. It uses OpenCV for image preprocessing and character cropping, a TensorFlow-based LeNet5 convolutional neural network trained on the CHROME dataset for digit and character recognition, and compiler techniques including operator precedence parsing and recursive descent parsing to organize recognized characters into mathematical expressions. Attribute grammars are then used to evaluate the expressions, with results visualized using matplotlib.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.