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
resourcePathstringThe directory path where Tesseract "*.traineddata" files are located.
Exceptions
- ArgumentException
Thrown if
resourcePathis null, empty, or whitespace.