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
image
ImageBufferThe decoded image buffer to run OCR on. Must not be
null
.model
LMOptional LM model. If provided, downstream components may use it to enhance OCR with features such as automatic language detection and classification.