Skip to content
MathGenie

MathGenie

All-in-one AI math tutor — solve problems by voice, text, or image,graph generatiom. Learn through gamified practice, flashcards, and smart summaries tailored to you.

Created on 23rd April 2025

MathGenie

MathGenie

All-in-one AI math tutor — solve problems by voice, text, or image,graph generatiom. Learn through gamified practice, flashcards, and smart summaries tailored to you.

The problem MathGenie solves

Handwritten math recognition lets students snap a photo of a problem instead of typing complicated equations.

Voice input allows learners to speak math problems aloud — great for accessibility and hands-free use.

AI-powered solving delivers instant, step-by-step solutions and explanations, helping students truly understand the logic behind every answer.

ELI5 Mode ("Explain Like I'm 5") breaks down complex concepts into simple, relatable explanations — perfect for younger students or beginners.

Smart flashcards help students revise effectively with personalized practice based on previously solved questions.

Gamified practice sessions turn learning into a fun challenge, with levels, rewards, and streaks that keep motivation high.

Graph generator automatically plots functions, equations, and data sets, giving students a visual understanding of math problems.

Challenges we ran into

Handwritten Math Recognition Accuracy
Extracting accurate math expressions from handwritten images was tough — especially when parsing imperfect handwriting into clean LaTeX. We experimented with multiple OCR libraries like EasyOCR and Tesseract, applied image pre-processing, and fine-tuned our Groq prompts to clean up and correct the outputs.

 Integrating Groq Whisper for Voice Input
Integrating Whisper from Groq into a real-time web experience came with latency and formatting challenges. Mapping spoken math expressions like “the square root of x squared plus five” into proper mathematical structure required clever prompt engineering and result normalization.

 Seamless LaTeX Rendering on Frontend
Even after getting clean math outputs, rendering them properly in the frontend using KaTeX and MathJax brought up layout issues. We had to create custom wrappers and loading states to handle dynamic rendering.

Designing a Unique Gamified Experience
Building an engaging, math-based “game mode” wasn’t just about timers and badges — we had to balance challenge, learning outcomes, and UI simplicity. Iterating on this took significant UI/UX brainstorming and feedback.

Tracks Applied (1)

Groq track

MathGenie leverages Groq’s ultra-fast inference capabilities to deliver instant math assistance through both voice and t...Read More
Groq

Groq

Discussion

Builders also viewed

See more projects on Devfolio