Tetrak OCR
GitHub ↗
Reference

Command line and Python API

How to install and drive the package is documented in the user guide, which is built from the released code at each release, so it describes the version on PyPI and cannot drift from it. The reference pages here are the things the code cannot document about itself: the corpus, the engines as measured, routing and licensing.

In brief, installing the package provides one command:

pip install 'tetrak[qa]'                # plus: brew install tesseract poppler

tetrak-ocr backends                     # what this machine can run
tetrak-ocr ocr scan.jpg --backend tesseract-auto
tetrak-ocr batch --backend auto-local   # workspace/scans/ → processed/, failures to triage/
tetrak-ocr evaluate --all --save        # the benchmark, from a checkout

The guide covers the rest: