Roujack/mathAI
一个拍照做题程序。输入一张包含数学计算题的图片,输出识别出的数学计算式以及计算结果。This is a mathematic expression recognition project. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2881
- days_rel: n/a
- days_push: 2090
- n_releases_24m: 0
Adoption not part of the score
2370 stars · 562 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mathAI is a photo-based math problem solver written in Python: it takes an image containing a handwritten or printed arithmetic expression, recognizes the characters with a TensorFlow CNN, and outputs the parsed expression and its computed result. It combines OpenCV preprocessing, LeNet-5 character recognition, and compiler-principles techniques (operator precedence and recursive descent parsing) to understand math formulas.
Use cases
- solve math problems by taking a photo
- recognize handwritten math expressions from images
- extract arithmetic expressions from a picture and compute the answer
- build a photo-to-answer homework solver
- study an end-to-end OCR plus formula parsing pipeline
- segment and classify math characters in images
When to choose
- you want a complete reference framework for photo-based math expression recognition
- you need to recognize simple one-dimensional arithmetic expressions (addition, subtraction, multiplication, division) from images
- you want to learn how compiler techniques like operator precedence and recursive descent apply to formula parsing
- you need a starting point to extend toward more complex mathematical formula recognition
When to avoid
- you need to recognize complex or multi-line mathematical formulas, as the released version only handles simple one-dimensional arithmetic
- you need production-grade robustness, since image preprocessing and spatial-relation heuristics are acknowledged as weak
- you expect active maintenance, as the last release dates from December 2020
- you need a ready-to-use consumer app rather than a semi-open research/learning project
Facets
application · maturity maintenance
computer-vision ocr image-processing machine-learning parser math computer-vision image-processing education python cross-platform math-expression-recognition photo-solving opencv tensorflow lenet5 compiler-principles chinese natural-language-processing algorithms
1 source
- readme: https://github.com/Roujack/mathAI · fetched 2026-08-28 · 01ce3f65f778
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Roujack/mathAI | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem