React Native OCR - v0.11.0
    Preparing search index...

    Type Alias RunOcrOptions

    Per-run OCR options, toggled without reloading. orientation and dewarp are no-ops without loaded documentModels and default to its config flags.

    type RunOcrOptions = {
        dewarp?: boolean;
        maxRedetections?: number;
        orientation?: boolean;
        tables?: boolean;
        tallCropRatio?: number;
        vertical?: boolean;
        verticalMinConfidence?: number;
    }
    Index
    dewarp?: boolean

    Flatten a physically warped page first. No-op without loaded documentModels; defaults to its config flag.

    maxRedetections?: number

    Max stacked-box re-detection passes per page. Default 8.

    orientation?: boolean

    Rotate the page upright first. No-op without loaded documentModels; defaults to its config flag.

    tables?: boolean

    Recognize table structure in table regions. Needs loaded documentModels (with a table config) plus layout. Default true.

    tallCropRatio?: number

    Height/width ratio above which a box is a vertical stack. Default 1.5.

    vertical?: boolean

    Also 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).

    verticalMinConfidence?: number

    Drop vertical reads below this confidence. Default 0.4; set 0 to keep all.