Skip to main content

A small framework taking over the manual tesseract training process described in the Tesseract Wiki

Project description

by Balthazar Rouberol - Mor Consulting, rouberol.b@gmail.com

TesseractTrainer is a simple Python API, taking over the tedious process of manually training Tesseract3, as described in the wiki page https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3.

The longest part of the training process is checking the box file, generated by tesseract using a reference tif image, as explained at https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3#Make_Box_Files. This file contains the coordinates of each character detected in the training tif. However, if Tesseract made some mistakes, you have to manually correct the boxfile, allowing Tesseract to “learn” from its mistakes.

TesseractTrainer allows you to skip this part, by automatically generating a tif (and the associated boxfile) using a text and a font that you specify, thus guaranteeing the total accuracy of the box file.

TesseractTrainer intends to provide both a python API and a bash command line tool.

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

TesseractTrainer-0.1.1.tar.gz (9.4 kB view details)

Uploaded Source

File details

Details for the file TesseractTrainer-0.1.1.tar.gz.

File metadata

File hashes

Hashes for TesseractTrainer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8ea0e98a67a13913814e7d3e9351e22e1f874993aefd81a9c4034675723ac58c
MD5 53e394f56a034e7eea00b128560c36ab
BLAKE2b-256 9f72cc8dd14bcfe1ff7599c91b7b1fc4a8773e7c2c895b011461fa6cc0da60c8

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