Reference

Navigation for the command-line interface, the main Python entry points, and the internal formhtr.libs packages they build on.

CLI

Core API

Other API modules

Library internals (formhtr.libs)

  • libs.extract_ROI — Rectangle detection, ROI selection CLI bridge, selection UI (formhtr.libs.extract_ROI).

  • libs.annotate_ROI — ROI labelling UI and helpers (formhtr.libs.annotate_ROI).

  • libs.processing — Alignment, checkbox/barcode handling, content parsing, spatial indexing, spreadsheet output (formhtr.libs.processing).

  • libs.services — Google / Amazon / Azure Vision adapters and orchestration (formhtr.libs.services).

  • libs support modules — PDF rasterization, layout config, geometry types, statistics, debug visualisation (formhtr.libs top-level modules).