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.
-
OCR-Powered Input: Easily convert images containing handwritten calculus expressions into a digital format.
-
SymPy Integration: Utilize SymPy's mathematical capabilities to perform calculations on LaTeX code generated from handwritten expressions.
-
Versatile Problem Handling: Solve a wide range of calculus problems, including derivatives, integrals, limits, and complex mathematical expressions.
- 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.
CalculusOCR is licensed under the MIT License.The full text of the MIT License in the LICENSE file.
To install CalculusOCR using pip:
pip install CalculusOCR
from CalculusOCR import *
Convert a handwritten calculus expression image into LaTeX code:
LaTeX = getlatex("<handwritten_expression.jpg>")
Use SymPy to perform mathematical operations:
solution = sympy_solve(<SympyEquation>)
Use solveimage() to perform mathematical operations in the given image:
SympyEqn, solution = solveimage("<calculus_expression.jpg>")
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.