Optional ReadonlydewarpFlatten a physically warped page first. No-op without loaded documentModels; defaults to its config flag.
Optional ReadonlymaxMax stacked-box re-detection passes per page. Default 8.
Optional ReadonlyorientationRotate the page upright first. No-op without loaded documentModels; defaults to its config flag.
Optional ReadonlytablesRecognize table structure in table regions. Needs loaded documentModels (with a table config) plus layout. Default true.
Optional ReadonlytallHeight/width ratio above which a box is a vertical stack. Default 1.5.
Optional ReadonlyverticalAlso read upright glyph stacks (vertical text), at extra compute. Fully supported with CRAFT; partial with DBNet (glyph columns are still read, but the stacked-box char-level re-detection split is skipped).
Optional ReadonlyverticalDrop vertical reads below this confidence. Default 0.4; set 0 to keep all.
Per-run OCR options, toggled without reloading.
orientationanddewarpare no-ops without loadeddocumentModelsand default to its config flags.