Skip to content

Interface: OcrResult ​

Defined in: src/helpers/ocr/engine.ts:15

What an OcrEngine read in an image.

Properties ​

confidence? ​

ts
optional confidence?: number;

Defined in: src/helpers/ocr/engine.ts:22

How sure the engine is of the text, from 0 to 1, for an engine that knows. Reported on the cell as CellText.confidence.


text ​

ts
text: string;

Defined in: src/helpers/ocr/engine.ts:17

The text, lines separated by \n.

AGPL-3.0-or-later — inherited from PyMuPDF and pymupdf4llm.