@maschinenlesbar.org/openka-cli
    Preparing search index...

    Interface TesseractOptions

    interface TesseractOptions {
        binary?: string;
        language?: string;
        oem?: number;
        psm?: number;
        requireVersion?: string;
        traineddataPath?: string;
    }
    Index
    binary?: string

    Binary name or absolute path.

    language?: string

    Language traineddata to load, e.g. deu.

    oem?: number

    OCR engine mode. 1 is the LSTM engine.

    psm?: number

    Page segmentation mode. 1 keeps automatic layout analysis with OSD off.

    requireVersion?: string

    Require exactly this version, e.g. 5.3.4. Mismatch throws.

    traineddataPath?: string

    Path to the traineddata file, hashed into the provenance record.