Training utils for Tesseract
Project description
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:
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.
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
tesstrain-0.1.2.tar.gz
(22.8 kB
view hashes)
Built Distribution
tesstrain-0.1.2-py3-none-any.whl
(25.3 kB
view hashes)
Close
Hashes for tesstrain-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb0f02a2e00c8f99e0cbb328a6627ca8611c05eb115c9bc66f9c948e65dbd84 |
|
MD5 | bdcff6f11fd40baf4eaa5e1e361eccff |
|
BLAKE2b-256 | 01a0832eddee21bb03f9c3baea927717ea7bac3c3c36a8dbc9701295c96d92ae |