/solveX

AI powered calculator, where the input equations and problems could be input just like writing on a paper.

Primary LanguagePython

solveX

This is a Python script that allows the user to draw a mathematical expression on a canvas using their mouse, and then convert it to text using OCR (Optical Character Recognition) to solve the expression.

Getting Started

Prerequisites

To run this script, you will need the following software installed on your computer:

  • Python 3.x
  • OpenCV (pip install opencv-python)
  • Pillow (pip install pillow)
  • Tesseract OCR (pip install pytesseract)
  • Tkinter (included in Python)

Installing

  • Clone this repository to your local machine.
  • Install the required software listed above.
  • Open a terminal or command prompt and navigate to the directory where the script is located.
  • Run the script by typing python main.py in the terminal.

Usage

  • Draw a mathematical expression on the canvas using the mouse.
  • Click the "Calculate" button to solve the expression.
  • The solution will be displayed in the console.

Contributing

Contributions to this project are welcome. If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Screenshots

Screenshot 2023-04-26 224113 Screenshot 2023-04-26 224008

Calculator Design

318446f1-072b-4d10-a466-a1c0f3370b4c

AI generated image