VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Ocr.Tesseract Namespace / TesseractOcr Class / Init(OcrEngineSettings) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Init(OcrEngineSettings) Method (TesseractOcr)
    In This Topic
    Initializes the Tesseract OCR engine.
    Syntax
    'Declaration
    
    Public Overrides Function Init( _
    ByVal settings
    Settings for OCR engine.
    As Vintasoft.Imaging.Ocr.OcrEngineSettings _
    ) As Boolean

    Parameters

    settings
    Settings for OCR engine.

    Return Value

    True - OCR engine is successfully initialized;
    false - OCR engine is NOT initialized.
    Exceptions
    ExceptionDescription
    Thrown if directory with Tesseract OCR data is not found OR Tesseract OCR is not initialized.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also