# CalculusOCR
## Introduction
[CalculusOCR](https://github.com/JignasP/CalculusOCR) is a Python package designed to simplify the process of converting handwritten calculus expressions into LaTeX code, converts 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](https://github.com/JignasP/CalculusOCR/blob/main/LICENSE) file.
## Installation
To install CalculusOCR using pip:
```bash
pip install CalculusOCR
```
### Importing the Package
```python
from CalculusOCR import *
```
### OCR-Powered Conversion
Convert a handwritten calculus expression image into LaTeX code:
```python
LaTeX = getlatex("<handwritten_expression.jpg>")
```
### Solving Sympy Equation
Use SymPy to perform mathematical operations:
```python
solution = sympy_solve(<SympyEquation>)
```
### Solving Calculus Problems
Use solveimage() to perform mathematical operations in the given image:
```python
SympyEqn, solution = solveimage("<calculus_expression.jpg>")
```
## Contributing
Whether you have ideas, translations, design changes, code cleaning, or even major code changes, help is always welcome. The app gets better and better with each contribution, no matter how big or small! If you'd like to get involved, check our [contribution notes](CONTRIBUTING.md).
Please note that all participants in this project are expected to follow our Code of Conduct. By participating in this project you agree to abide by its terms. See [CODE\_OF\_CONDUCT.md](CODE_OF_CONDUCT.md).
Raw data
{
"_id": null,
"home_page": "https://github.com/JignasP/CalculusOCR/",
"name": "CalculusOCR",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "artificial intelligence,image to text,calculus",
"author": "Jignas Paturu",
"author_email": "jignas.paturu@hotmail.com",
"download_url": "https://files.pythonhosted.org/packages/4a/c9/e6024ca48fc2a1fd4d350522a9568246e19f7a6cc5bda9f1ca45d408f651/CalculusOCR-0.0.3.tar.gz",
"platform": null,
"description": "# CalculusOCR\n\n\n## Introduction\n\n[CalculusOCR](https://github.com/JignasP/CalculusOCR) is a Python package designed to simplify the process of converting handwritten calculus expressions into LaTeX code, converts then into Sympy equation and solving them. \n\n### Key Features\n\n1. **OCR-Powered Input:** Easily convert images containing handwritten calculus expressions into a digital format.\n\n2. **SymPy Integration:** Utilize SymPy's mathematical capabilities to perform calculations on LaTeX code generated from handwritten expressions.\n\n3. **Versatile Problem Handling:** Solve a wide range of calculus problems, including derivatives, integrals, limits, and complex mathematical expressions.\n\n## Applications:\n - **Educational Materials:** Create assignments, quizzes, tests, or exams with handwritten calculus problems.\n - **Research and Reporting:** Incorporate complex calculus equations and formulas into research papers, reports, or presentations.\n - **Problem Solving:** Solve challenging calculus problems using Python .\n - **Teaching and Learning:** Enhance calculus education through interactive notebooks or online platforms.\n\n## License\n\nCalculusOCR is licensed under the MIT License.The full text of the MIT License in the [LICENSE](https://github.com/JignasP/CalculusOCR/blob/main/LICENSE) file.\n\n## Installation\n\nTo install CalculusOCR using pip:\n\n```bash\npip install CalculusOCR\n```\n\n\n### Importing the Package\n\n```python\nfrom CalculusOCR import *\n```\n\n### OCR-Powered Conversion\n\nConvert a handwritten calculus expression image into LaTeX code:\n\n```python\nLaTeX = getlatex(\"<handwritten_expression.jpg>\")\n```\n\n### Solving Sympy Equation\n\nUse SymPy to perform mathematical operations:\n\n```python\nsolution = sympy_solve(<SympyEquation>)\n```\n### Solving Calculus Problems\n\nUse solveimage() to perform mathematical operations in the given image:\n\n```python\nSympyEqn, solution = solveimage(\"<calculus_expression.jpg>\")\n```\n\n\n## Contributing\nWhether you have ideas, translations, design changes, code cleaning, or even major code changes, help is always welcome. The app gets better and better with each contribution, no matter how big or small! If you'd like to get involved, check our [contribution notes](CONTRIBUTING.md).\n\nPlease note that all participants in this project are expected to follow our Code of Conduct. By participating in this project you agree to abide by its terms. See [CODE\\_OF\\_CONDUCT.md](CODE_OF_CONDUCT.md).\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CalculusOCR: A Vision Transformer that can perform optical character recognition on handwritten calculus expressions and outputs LaTeX code, Sympy equation and solution.",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/JignasP/CalculusOCR/"
},
"split_keywords": [
"artificial intelligence",
"image to text",
"calculus"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0ef9bdefadbc63ad0b7022a050befd9aa5463fb74a19dfc449eee69eecf338eb",
"md5": "8c25642709429cff989ec920f1819d63",
"sha256": "47187725217c8407108189ccbd598fbec18845bf4e2be795df0683d2cb272222"
},
"downloads": -1,
"filename": "CalculusOCR-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8c25642709429cff989ec920f1819d63",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4320,
"upload_time": "2023-09-23T13:37:26",
"upload_time_iso_8601": "2023-09-23T13:37:26.106245Z",
"url": "https://files.pythonhosted.org/packages/0e/f9/bdefadbc63ad0b7022a050befd9aa5463fb74a19dfc449eee69eecf338eb/CalculusOCR-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4ac9e6024ca48fc2a1fd4d350522a9568246e19f7a6cc5bda9f1ca45d408f651",
"md5": "06a3d2be12903dc385de2058e6e17b0d",
"sha256": "8457be62ec806d4851eda63a7a9a74bc989d0d1661192728e75398c55ae947bd"
},
"downloads": -1,
"filename": "CalculusOCR-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "06a3d2be12903dc385de2058e6e17b0d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4019,
"upload_time": "2023-09-23T13:37:27",
"upload_time_iso_8601": "2023-09-23T13:37:27.695931Z",
"url": "https://files.pythonhosted.org/packages/4a/c9/e6024ca48fc2a1fd4d350522a9568246e19f7a6cc5bda9f1ca45d408f651/CalculusOCR-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-23 13:37:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "JignasP",
"github_project": "CalculusOCR",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "calculusocr"
}