Skip to main content

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.

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.2.0.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesstrain-0.2.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tesstrain-0.2.0.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tesstrain-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6f3bbf1b0466431f4f886d01222c13f8bb6980690c2ae97b416355e586ca8988
MD5 1b43d26a0c191265a2a449f21187fe97
BLAKE2b-256 a910d9d6aee11eea64dc15d8f8c0319fce53ddea5e793eb810eea34c4b757ef7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tesstrain-0.2.0.tar.gz:

Publisher: release.yml on stefan6419846/tesstrain_package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: tesstrain-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tesstrain-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65b77ab88f7210bc11d7a0115704c40e39bf24fd66c5d4e07d85411c9f52d48e
MD5 3f6980cbf7c078e2ee72587f3c6ee18e
BLAKE2b-256 2ee38a6a129c7ad3f3fa24d7549c11dce1a9ed16e9906c6f2579a0eb540760bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for tesstrain-0.2.0-py3-none-any.whl:

Publisher: release.yml on stefan6419846/tesstrain_package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page