Table of Contents

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

resourcePath string

The directory path where OCR dictionary files are located.

Exceptions

ArgumentException

Thrown if resourcePath is null, empty, or whitespace.

Share