Table of Contents

Constructor TesseractOcr

Namespace
LMKit.Integrations.Tesseract
Assembly
LM-Kit.NET.dll

TesseractOcr()

Initializes a new instance of the TesseractOcr class using the default model storage directory.

public TesseractOcr()

Remarks

Traineddata files are expected at: {ModelStorageDirectory}/lm-kit/tessdata-best/

TesseractOcr(string)

Initializes a new instance of the TesseractOcr class with the specified Tesseract resource path.

public TesseractOcr(string resourcePath)

Parameters

resourcePath string

The directory path where Tesseract *.traineddata files are located.

Exceptions

ArgumentException

Thrown if resourcePath is null, empty, or whitespace.