Skip to main content

CalculusOCR: A Vision Transformer that can perform optical character recognition on handwritten calculus expressions and outputs LaTeX code, Sympy equation and solution.

Project description

CalculusOCR

Introduction

CalculusOCR is a Python package designed to simplify the process of converting handwritten calculus expressions into LaTeX code, concerts then into Sympy equation and solving them.

Key Features

  1. OCR-Powered Input: Easily convert images containing handwritten calculus expressions into a digital format.

  2. SymPy Integration: Utilize SymPy's mathematical capabilities to perform calculations on LaTeX code generated from handwritten expressions.

  3. Versatile Problem Handling: Solve a wide range of calculus problems, including derivatives, integrals, limits, and complex mathematical expressions.

Applications:

  • Educational Materials: Create assignments, quizzes, tests, or exams with handwritten calculus problems.
  • Research and Reporting: Incorporate complex calculus equations and formulas into research papers, reports, or presentations.
  • Problem Solving: Solve challenging calculus problems using Python .
  • Teaching and Learning: Enhance calculus education through interactive notebooks or online platforms.

License

CalculusOCR is licensed under the MIT License.The full text of the MIT License in the LICENSE file.

Installation

To install CalculusOCR using pip:

pip install CalculusOCR

Importing the Package

from CalculusOCR import *

OCR-Powered Conversion

Convert a handwritten calculus expression image into LaTeX code:

LaTeX = getlatex("<handwritten_expression.jpg>")

Solving Sympy Equation

Use SymPy to perform mathematical operations:

solution = sympy_solve(<SympyEquation>)

Solving Calculus Problems

Use solveimage() to perform mathematical operations in the given image:

SympyEqn, solution = solveimage("<calculus_expression.jpg>")

Conclusion

CalculusOCR simplifies the process of working with handwritten calculus expressions, making it an invaluable tool for educators, researchers, and anyone dealing with complex mathematical problems. This documentation provides a comprehensive guide to getting started with CalculusOCR and leveraging its powerful features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CalculusOCR-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

CalculusOCR-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file CalculusOCR-0.0.1.tar.gz.

File metadata

  • Download URL: CalculusOCR-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for CalculusOCR-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a06fa1a6ab648e886339488860dd64a97f72c3b531950bd160588c469f4d69f0
MD5 71ee3e4c7935a54dd4be1f1eea257ef3
BLAKE2b-256 159649e07c3f95e03ec148d4d670cc7240e851e81c5980cca3727002348ee2de

See more details on using hashes here.

File details

Details for the file CalculusOCR-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: CalculusOCR-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for CalculusOCR-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee3603a3499820971794dc805264fad788c177fe014ccf440c81d06a0a8ddd31
MD5 d3b469dd65042c8cea1723d0c0911e27
BLAKE2b-256 132735c767d6f98c272d75e2f1640fe78ec75e4b1b700c1ea8cb2714514a5d80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page