Skip to main content

Collection of utilities for Tesseract OCR training

Project description

Python utilities for Tesseract OCR training

This module is a collection of different training utilities for Tesseract OCR. These utilities are also implemented as console scripts, hence they can be run from command line.

Requirements

This module requires the following modules to work:

  • pytesseract (Running Tesseract OCR)
  • editdistance (Calculation of error rates)

Packages

The module is split in several packages. The package pytesstrain.train contains the workhorse function run_text(). The package pytesstrain.cli contains the tolls you might run at the command line. The package pytesstrain.ambigs contains function around unicharambigs file. The package pytesstrain.text2image contains the interface to the text2image command from the Tesseract OCR; the interface relies on pytesseract module and is modelled after it as well. The package pytesstrain.metrics contains error rate calculations, as well the interface class Metrics. The package pytesstrain.utils has auxiliary functions.

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

pytesstrain-0.1.0.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

pytesstrain-0.1.0-py3-none-any.whl (20.2 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