GroupDocs.Parser for .NET 26.3 Release Notes

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
PARSERNET-2843Implement support for Arabic and Korean languages ​​when using OCRImprovement

Public API and Backward Incompatible Changes

Implement support for Arabic and Korean languages ​​when using OCR

Description

This improvement enables text recognition (OCR) in Arabic and Korean without the need to download any additional resources from the Internet. All necessary resources are built into the DLL. Recognition of other languages ​​is also supported, but additional resources may need to be downloaded automatically.

Public API changes

None.

Usage

The following example demonstrates how to recognize Korean text in an image:

// Create an instance of Parser class
using (Parser parser = new Parser(documentPath))
{
    OcrOptions ocrOptions = new OcrOptions()
    {
        Language = Language.Kor
    };
    TextOptions options = new TextOptions(false, true, ocrOptions);
    TextReader result = parser.GetText(options);
    string text = result.ReadToEnd();
    Console.WriteLine(text);
}