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
trueto enable language detection;falseto use DefaultLanguage. The default isfalse.
Remarks
When enabled, a VisionModel with vision capabilities must be configured. If no model is set, an exception is thrown during OCR execution.