Spike Prime - PhotoMath - Jakub Vojtek

From RoboWiki
Jump to: navigation, search

Back to: List of projects of Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat

About the project

The PhotoMath project is designed to teach students how to create a Python application that can solve mathematical equations using image recognition. Leveraging the power of computer vision and optical character recognition (OCR), the project involves capturing handwritten or printed equations via a camera, processing the images to extract the equations, and then solving them using mathematical libraries.

BuildHat photomath model.png BuildHat photomathr fotka.jpg

Video

Build a robot

  • Build your own photo chamber so it fits your needs and length of your equations.

Building instructions:

Get the robot ready

  • Make sure your camera is setup properly so it only sees the paper with your equation because LEGO blocks or edges of paper can make OCR get the equation wrong.

Raspberry Python Code:

Ideas for improvement

  • Make your own calculator that can solve harder equations.
  • Show the result or interpretation of the equation in PyGame.

Evaluate your performance

  • Think about how you approached the problem and about how else could it be solved.
  • Evaluate yourself on how you adapted when something didn't work as you hoped it would.


Teacher Resources