Browse our Products

Aspose.OCR for Python via .NET 24.11.0 - Release Notes

Deprecation warning

What was changed

KeySummaryCategory
OCRPY‑75Added support for recognizing mixed-language Korean/English texts.New feature
OCRPY‑75Added support for recognizing mixed-language Japanese/English texts.New feature
OCRPY‑75Enhanced handling of custom fonts in searchable PDFs.Enhancement
OCRPY‑75Improved searchable PDF generation.Enhancement
OCRPY‑75Faster 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 Python via .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 changed in Aspose.OCR for Python via .NET 24.11.0 release:

Language

Aspose.OCR for Python via .NET can now recognize Japanese and Korean texts, including texts in mixed Japanese/English and Korean/English scripts:

ValueAlphabet
Language.JPNJapanese
Language.KORKorean

Removed public APIs:

No changes.

Examples

The code samples below illustrate the changes introduced in this release:

Japanese language recognition

# Instantiate Aspose.OCR API
api = AsposeOcr()
# Add image to the recognition batch
input = OcrInput(InputType.SINGLE_IMAGE)
input.add("source.png")
# Recognize Japanese text
recognitionSettings = RecognitionSettings()
recognitionSettings.language = Language.JPN
# Extract text from image
result = api.recognize(input, recognitionSettings)
# Print recognition result
print(result[0].recognition_text)
input("Press Enter to continue...")