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.3.tar.gz
(23.0 kB
view hashes)
Built Distribution
tesstrain-0.1.3-py3-none-any.whl
(25.1 kB
view hashes)
Close
Hashes for tesstrain-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea9d5302f8a265f1e5e7ea8137046bfcd364968bb03dbe9e0d723dec063c41e |
|
MD5 | c7f8245b465416baedc7f321bc4ce8be |
|
BLAKE2b-256 | 14d4f4f0e1b86bfba18bd9e81c3cd4b6a388f324df5488ab834d0b22598bdc07 |