Constructor OcrParameters
- Namespace
- LMKit.Extraction.Ocr
- Assembly
- LM-Kit.NET.dll
OcrParameters(ImageBuffer, LM)
Initializes a new instance of the OcrParameters class with the specified image and an optional language model for extended OCR capabilities.
public OcrParameters(ImageBuffer image, LM model = null)
Parameters
imageImageBufferThe decoded image buffer to run OCR on. Must not be
null.modelLMOptional LM model. If provided, downstream components may use it to enhance OCR with features such as automatic language detection and classification.