Browse our Products
Aspose.OCR for .NET 24.11.1 - Release Notes
This article contains a summary of recent changes, enhancements and bug fixes in Aspose.OCR for .NET 24.11.1 (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‑947 | Added an experimental OCR model for extracting mixed-language Cyrillic/English texts. | New feature |
OCRNET‑945 | Added support for recognizing mixed-language Telugu/English texts. | New feature |
OCRNET‑945 | Added support for recognizing mixed-language Tamil/English texts. | New feature |
OCRNET‑945 | Added support for recognizing mixed-language Kannada/English texts. | New feature |
OCRNET‑943 | Added universal recognition of Indic texts based on Devanagari script, including mixed Devanagari/English texts. | Enhancement |
n/a | Added universal recognition of Chinese/English texts (language-agnostic). | Enhancement |
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR for .NET 24.11.1 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.1 release:
Aspose.OCR.Language
Aspose.OCR for .NET can now extract texts in the following languages:
Value | Alphabet |
---|---|
Aspose.OCR.Language.Chinese | Universal model for all Chinese languages. Mixed-language Chinese/English texts also supported. |
Aspose.OCR.Language.Devanagari Aspose.OCR.Language.Indic | Universal model for all Indic texts based on Devanagari script, including mixed Devanagari/English texts. |
Aspose.OCR.Language.European | Mixed-language Cyrillic/English texts. |
Aspose.OCR.Language.Kan | Mixed-language Kannada/English texts. |
Aspose.OCR.Language.Tam | Mixed-language Tamil/English texts. |
Aspose.OCR.Language.Tel | Mixed-language Telugu/English texts. |
- Chinese text recognition requires aspose-ocr-chinese-v2 OCR feature to be installed.
- Indic text recognition requires aspose-ocr-hindi-v2 OCR feature to be installed.
- Mixed-language Cyrillic/English text recognition requires aaspose-ocr-cyrillic-v2 OCR feature to be installed.
- Kannada text recognition requires aspose-ocr-kannada-v1 OCR feature to be installed.
- Tamil text recognition requires aspose-ocr-tamil-v1 OCR feature to be installed.
- Telugu text recognition requires aspose-ocr-telugu-v1 OCR feature to be installed.
Removed public APIs:
No changes.
Examples
The code samples below illustrate the changes introduced in this release:
Mixed-language Cyrillic/English OCR
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 mixed Cyrillic/English text
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.European;
// Extract text from image
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, recognitionSettings);
Console.WriteLine(result[0].RecognitionText);