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

    Type Alias CraftExtractOptions

    CRAFT decode thresholds: tuning knobs for makeCraftExtractBoxes. All optional; the defaults suit the built-in CRAFT models.

    type CraftExtractOptions = {
        linkThreshold?: number;
        lowTextThreshold?: number;
        minArea?: number;
        textThreshold?: number;
    }
    Index
    linkThreshold?: number

    Affinity-score threshold for linking adjacent glyphs into a line. Default 0.4.

    lowTextThreshold?: number

    Minimum peak region score for a component to survive. Default 0.7.

    minArea?: number

    Components covering fewer heatmap pixels than this are dropped. Default 10.

    textThreshold?: number

    Region-score threshold for a pixel to count as text. Default 0.4.