Class LibTesseract5
Inheritance
Namespace: DynamicTesseract
Assembly: IronOcr.dll
Syntax
public static class LibTesseract5 : Object
Resolving the native Tesseract 5 engine binary at startup is the job of LibTesseract5, the static bootstrap that points IronOCR at the recognition library on disk. Tesseract 5 is the OCR engine itself, the native code that turns pixels into characters, so it has to be located before any text can be read.
The class exposes a single static Initialize, which accepts an IronSoftware.Deployment.NativeLibrary describing the platform-specific Tesseract binary and registers it for the engine to use. In normal use the high-level IronTesseract API performs this step on first read, so application code rarely touches it. The direct call matters for a custom deployment, a trimmed publish, or a container image where the native binaries are staged in a non-default location and must be declared.
The configure and set up Tesseract example covers engine setup, and the Tesseract OCR tutorial demonstrates the engine end to end.
Methods
Initialize(NativeLibrary)
Declaration
public static void Initialize(NativeLibrary libTesseract)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeLibrary | libTesseract |