Optional ReadonlydewarpFlatten a physically warped page before OCR. Default false.
Optional ReadonlydewarpDecline the dewarp when it keeps less than this fraction of the source image variance: a bad grid can collapse a page without clear borders to near-blank, which keeps close to none. Default 0.5; lower is more permissive. A page photographed on a dark background keeps only about a third once the background is cropped away, so set about 0.1 for photos.
ReadonlymodelLocal path or remote URL of the fused helper .pte.
Optional ReadonlyorientationRotate the page upright before OCR. Default false.
Optional ReadonlyorientationApply the rotation only when the classifier is at least this confident. Default 0.85.
Optional ReadonlytableTable structure recognition; omit to disable it.
The document-helper model: one fused PTE that carries page-orientation classification, the UVDoc dewarping grid and, optionally, SLANet table structure. The flags pick which stages run by default; a run can override them.