Skip to content

Economy HTR

🤖 AI Drafted (Not reviewed)

Free Apple Vision line boxes + a cheap local HTR backend (no paid API calls).

Tool id economy_htr
Category vision
Uses a language model no
Needs a generative model no
Runs over many items yes
Item handling batch
Structured output no
Human-verified not yet

What it reads

Port Type Required What it is
Files (files) files yes
Documents (documents) json no

What it emits

Port Type Required What it is
Text (text) text
Records (records) json
Files (files) files
Documents (documents) json

Options

Option Type Default What it does
backend string apple Line HTR engine: apple=Vision text (free floor), trocr=local transformers line model, kraken=kraken CLI full-page. One of: apple, trocr, kraken.
batch_size integer 8
keep_crops_dir string Debug: write the line crops here instead of a temp dir.
kraken_model_path string kraken backend: path to a .mlmodel (e.g. catmus-medieval.mlmodel).
language string es
min_line_confidence number 0.0
model string magistermilitum/tridis_HTR trocr backend: HF model id or local path (TrOCR family).
pad_x number 0.01
pad_y number 0.35 Vertical padding as a fraction of line height (ascenders/descenders).
scale number 2.0

The prompt it sends

This tool does not send a prompt — it does its work in code.