Skip to main content

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.4.tar.gz (23.0 kB view hashes)

Uploaded Source

Built Distribution

tesstrain-0.1.4-py3-none-any.whl (25.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page