Metadata-Version: 2.4
Name: ocr_translate-tesseract
Version: 0.4.0
Summary: Plugin to implement tesseract OCR for ocr_translate.
Keywords: django,translation
Author: Davide Grassano
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Natural Language :: English
Classifier: Topic :: Text Processing :: Linguistic
License-File: LICENSE.txt
Requires-Dist: django-ocr_translate>=0.7.0,<1.0
Requires-Dist: pytesseract~=0.3.13
Requires-Dist: requests~=2.32.5
Requires-Dist: pre-commit ; extra == "pre-commit"
Requires-Dist: pylint ; extra == "pre-commit"
Requires-Dist: pylint-pytest ; extra == "pre-commit"
Requires-Dist: pylint-django ; extra == "pre-commit"
Requires-Dist: flit ; extra == "release"
Requires-Dist: pytest ; extra == "tests"
Requires-Dist: pytest-cov ; extra == "tests"
Requires-Dist: pytest-django ; extra == "tests"
Project-URL: Source, https://github.com/crivella/ocr_translate-tesseract
Provides-Extra: pre-commit
Provides-Extra: release
Provides-Extra: tests

# Plugin for using tesseract with ocr_translate

This is a plugin for the [ocr_translate](https://github.com/Crivella/ocr_translate) server for implementing translations using [tesseract](https://tesseract-ocr.github.io/)

**IMPORANT**: This plugin required tesseract to be installed to work [link](https://tesseract-ocr.github.io/tessdoc/Installation.html)

## Usage

### For versions of the server `>=0.2`

- Install this by running `pip install ocr_translate-tesseract`
- Add `ocr_translate_tesseract` to your `INSTALLED_APPS` in `settings.py`
- Run the server with `AUTOCREATE_VALIDATED_MODELS` once

For versions of the server `>=0.6`

- Install through the server plugin manager

### For versions of the server `>=0.7`

- Install through the server plugin manager **OR** manually by running `pip install ocr_translate-tesseract`

