Browse our Products

Aspose.OCR for Java 22.11.0 - Release Notes

What was changed

OCRJAVA-281Added a new document areas detection mode that auto-straightens curved lines and finds text blocks inside the resulting image.New feature
n/aImproved XML extraction from JPEG images.Enhancement

Public API changes and backwards compatibility

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

Added public APIs:

The following public APIs have been introduced in this release:


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:


AsposeOCR api = new AsposeOCR();
DocumentRecognitionSettings recognitionSettings = new DocumentRecognitionSettings();
RecognitionResult results = api.RecognizePage("source.png", recognitionSettings);