Table of Contents

Property OcrPerformed

Namespace
LMKit.Document.Conversion
Assembly
LM-Kit.NET.dll

OcrPerformed

Gets a value indicating whether OCR was performed on this page during conversion.

public bool OcrPerformed { get; }

Property Value

bool

Remarks

OCR is not run on every page. It is applied only when the page actually needs it: when the source is an image with no text layer, when the page carries embedded raster images whose text is recovered to augment the layout, when the page's native text layer is too sparse and the whole page is rasterized and read (full-page OCR), or when the page is transcribed by the vision-language model (VlmOcr). A page whose text was taken straight from an embedded text layer reports false.

Use this flag to tell apart text that came verbatim from the document from text that was recognized from pixels, for example to apply stricter review to OCR'd pages or to report which pages required recognition.

Share