Table of Contents

Constructor TesseractOcr

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

TesseractOcr()

Initializes a new instance of the TesseractOcr using the default model storage directory specified by Global.Configuration.ModelStorageDirectory.

public TesseractOcr()

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.