Aspose.OCR for .NET 22.11.0 - Release Notes

What was changed

Key Summary Category
OCRNET-582 Added a new document areas detection mode that auto-straightens curved lines and finds text blocks inside the resulting image. New feature
OCRNET-604 Fixed handling of images with different horizontal and vertical resolutions (non-square pixels). Fix
n/a Improved XML extraction from JPEG images. Enhancement

Public API changes and backwards compatibility

This section lists all public API changes introduced in Aspose.OCR for .NET 22.11.0 that may affect the code of existing applications.

Added public APIs:

The following public APIs have been introduced in this release:

DetectAreasMode.CURVED_TEXT

Added a new areas detection mode DetectAreasMode.CURVED_TEXT which uses a specialized neural network that automatically tracks and rectifies curved lines of text. This improves recognition accuracy and allows much more text to be recovered and extracted.

Updated public APIs:

No changes.

Removed public APIs:

No changes.

Usage examples

The examples below illustrates the changes introduced in this release:

DetectAreasMode.CURVED_TEXT

Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.DetectAreasMode = Aspose.OCR.DetectAreasMode.CURVED_TEXT;
// Recognize image
Aspose.OCR.RecognitionResult result = recognitionEngine.RecognizeImage("source.png", recognitionSettings);
Console.WriteLine(result.RecognitionText);