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

    Function createPerceiver

    • Build the perceiver for an OCR mode, ready to use.

      off is strict mode — no model on the line, scanned documents abstain — and takes no options: one given there would be ignored, so it is refused. The other two are the sanctioned narrow perceptual case and must be runnable here: the binary on PATH, or the optional tesseract.js module loaded. An engine that is not there is an OpenKaError now, not a corpus full of "not installed" abstentions — and not a ka verify that reports a false non-reproduction. Throws OpenKaValidationError for an unknown mode or a blank option.

      Parameters

      Returns Promise<Perceiver>