Constructor LMKitOcr
- Namespace
- LMKit.Extraction.Ocr
- Assembly
- LM-Kit.NET.dll
LMKitOcr()
Initializes a new instance of the LMKitOcr class using the default model storage directory.
public LMKitOcr()
Remarks
Traineddata files are expected at:
{ModelStorageDirectory}/lm-kit/tessdata-fast/
LMKitOcr(string)
Initializes a new instance of the LMKitOcr class with the specified OCR resource path.
public LMKitOcr(string resourcePath)
Parameters
resourcePathstringThe directory path where OCR dictionary files are located.
Exceptions
- ArgumentException
Thrown if
resourcePathisnull, empty, or whitespace.