Browse our Products
Aspose.OCR for .NET 24.11.0 - Release Notes
This article contains a summary of recent changes, enhancements and bug fixes in Aspose.OCR for .NET 24.11.0 (November 2024) release.
GPU version: 23.10.1
Deprecation warning
- The release 24.3.0 updates the codes of some recognition languages to align with ISO 639-2 standard.
- Starting with the release 24.6.0, use
Aspose.OCR.Country.NONE
recognition setting to disable extraction of key details from passport images instead ofAspose.OCR.Country.UNIVERSAL
. - Starting with the release 24.10.0, Aspose.OCR for .NET introduces new content structure detection modes.
To make it easier to upgrade your code, we have kept all legacy values, but marked them as deprecated. All of your existing code will continue to work and you can even make minor updates to it, but be aware that all deprecated language codes are scheduled to be removed in release 25.1.0 (January 2025).
Time to deprecation: 2 months left.
What was changed
Key | Summary | Category |
---|---|---|
OCRNET‑939 | Added support for recognizing mixed-language Korean/English texts. | New feature |
OCRNET‑939 | Added support for recognizing mixed-language Japanese/English texts. | New feature |
OCRNET‑911 | Enhanced handling of custom fonts in searchable PDFs. | Enhancement |
OCRNET‑925 OCRNET‑937 | Improved searchable PDF generation. | Enhancement |
OCRNET‑936 | Faster and more precise text extraction across various document types. | Enhancement |
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR for .NET 24.11.0 that may affect the code of existing applications.
Added public APIs:
No changes.
Updated public APIs:
The following public APIs have been updated in Aspose.OCR for .NET 24.11.0 release:
Aspose.OCR.Language
Aspose.OCR for .NET can now recognize Japanese and Korean texts, including texts in mixed Japanese/English and Korean/English scripts:
Value | Alphabet |
---|---|
Aspose.OCR.Language.Jpn | Japanese |
Aspose.OCR.Language.Kor | Korean |
Removed public APIs:
No changes.
Examples
The code samples below illustrate the changes introduced in this release:
Japanese language recognition
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
// Add an image to recognition batch
Aspose.OCR.OcrInput input = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage);
input.Add("source.png");
// Recognize Japanese text
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.Jpn;
// Extract text from image
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, recognitionSettings);
Console.WriteLine(result[0].RecognitionText);