Table of Contents

Constructor TesseractOcrEngine

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

TesseractOcrEngine()

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

public TesseractOcrEngine()

TesseractOcrEngine(string)

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

public TesseractOcrEngine(string resourcePath)

Parameters

resourcePath string

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

Exceptions

ArgumentException

Thrown if resourcePath is null, empty, or whitespace.