semvec/pypi-packages huggingface dataset:
tesstrain 0.2.0
Training utils for Tesseract
License: Apache-2.0
Requires Python: <4,>=3.9
Keywords: tesseract, tesseract-ocr, ocr, optical character recognition

# tesstrain.py

Utilities for working with Tesseract >= 4 using artificial training data.

## About

This repository contains a standalone fork of the official/upstream code at https://github.com/tesseract-ocr/tesstrain/tree/main/src to allow easier packaging for PyPI.

## Installation

This package requires the Tesseract training tools to be available on your system. Additionally, a supported Python version (at least 3.6) is required for running.

You can install this package from PyPI:

```bash
python -m pip install tesstrain
```

Alternatively, you may use `pip install .` to install the package from a source checkout.

## Running

* Use the terminal interface to directly interact with the tools: `python -m tesstrain --help`.
* Call it from your own code using the high-level interface `tesstrain.run()`.

## License

This package is subject to the terms of the Apache-2.0 license.