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.1.tar.gz
(22.2 kB
view hashes)
Built Distribution
tesstrain-0.1.1-py3-none-any.whl
(24.6 kB
view hashes)
Close
Hashes for tesstrain-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2518991d41621f25bb156bb96d20c1c02e553e7aed7fa7bdd3f9bfbdd15a2e9 |
|
MD5 | 8e256474be326afca5769d7b22308492 |
|
BLAKE2b-256 | ddf7e28bdada3d69df1cdb574cc1fabe61adbf02df0821514752950fa36d1201 |