Browse our Products
Aspose.OCR for Java 24.1.0 - Release Notes
This article contains a summary of recent changes, enhancements and bug fixes in Aspose.OCR for Java 24.1.0 (January 2024) release.
GPU version: 24.1.0
What was changed
Key | Summary | Category |
---|---|---|
OCRJAVA‑347 OCRJAVA‑348 | Added recognition of handwritten text. | New feature |
OCRJAVA‑350 | Improved text overlay positioning in searchable PDFs. | Enhancement |
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR for Java 24.1.0 that may affect the code of existing applications.
Added public APIs:
The following public APIs have been introduced in Aspose.OCR for Java 24.1.0 release:
RecognizeHandwrittenText()
method
A specialized recognition method for extracting handwritten text from images. It supports a number of European languages based on Extended Lain alphabet.
RecognizeHandwrittenText()
method has some limitations:
- The method only supports a limited subset of Extended Latin letters and numbers.
- Both uppercase and lowercase letters are recognized. However, the resulting text will be in uppercase.
- This method does not support recognition settings. The recognition language is detected automatically.
Updated public APIs:
No changes.
Removed public APIs:
No changes.
Examples
The code samples below illustrate the changes introduced in this release:
Recognize handwritten note
AsposeOCR api = new AsposeOCR();
// Load an image
OcrInput input = new OcrInput(InputType.SingleImage);
input.add("memo.png");
// Recognize handwritten text
ArrayList<RecognitionResult> result = api.RecognizeHandwrittenText(input);
out.println("Recognized text:\n" + result.get(0).recognitionText);