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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tesstrain-0.1.4.tar.gz.

File metadata

  • Download URL: tesstrain-0.1.4.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.3.0 pkginfo/1.8.3 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.64.0 CPython/3.9.18

File hashes

Hashes for tesstrain-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ba856140a4f3d8c512155dee6d7878e1f7de18cf90201b2a0d52dc931c6a5912
MD5 de6cfbf27e26090a7ee5609524db4939
BLAKE2b-256 89f5d4e4b8a1dd1a90c7e697f4f2a652a8e125f153f653d07ce31a082aac7d3d

See more details on using hashes here.

File details

Details for the file tesstrain-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: tesstrain-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.3.0 pkginfo/1.8.3 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.64.0 CPython/3.9.18

File hashes

Hashes for tesstrain-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 95ec2875e0bb5c1f98f86518d2594d7b1c38940b68b07257ba41c33e40c8d8b2
MD5 b5ef33551a3edb83ebb86961cfb5371a
BLAKE2b-256 aa9a659f57d85596f2a3d5ef31178ea9e8ba36339e98fb28e68087cca91aa807

See more details on using hashes here.

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