Table of Contents

Property EnableLanguageDetection

Namespace
LMKit.Integrations.Tesseract
Assembly
LM-Kit.NET.dll

EnableLanguageDetection

Gets or sets a value indicating whether automatic language detection is performed before OCR.

public bool EnableLanguageDetection { get; set; }

Property Value

bool

true to enable language detection; false to use DefaultLanguage. The default is false.

Remarks

When enabled, a VisionModel with vision capabilities must be configured. If no model is set, an exception is thrown during OCR execution.