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

    Type Alias DbnetExtractOptions

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

    type DbnetExtractOptions = {
        binThreshold?: number;
        boxThreshold?: number;
        maxCandidates?: number;
        minBoxSide?: number;
        unclipRatio?: number;
    }
    Index
    binThreshold?: number

    Binarization threshold on the probability map. Default 0.3.

    boxThreshold?: number

    Minimum mean box score to keep a candidate. Default 0.6.

    maxCandidates?: number

    Cap on contour candidates scored per map. Default 1000.

    minBoxSide?: number

    Discard boxes with a side smaller than this (px). Default 3.

    unclipRatio?: number

    How far to expand (unclip) each shrunk box. Default 1.5.