Table of Contents

Property OcrEngine

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

OcrEngine

Gets or sets the OCR engine used for extracting text from image-based document pages.

public OcrEngine OcrEngine { get; set; }

Property Value

OcrEngine

The OCR engine instance, or null if OCR is not configured.

Remarks

When ProcessingMode is set to TextExtraction or Auto, and a page requires OCR (e.g., a scanned PDF page or an image), this engine is used to recognize and extract text.

If null and a page requires OCR, that page will be skipped or produce empty text unless VisionParser is configured and the mode allows document understanding.