Latest release
This article contains a summary of recent changes, enhancements and bug fixes in Aspose.OCR for Java 23.11.0 (November 2023) release.
GPU version: 23.11.0
What was changed
Key | Summary | Category |
---|---|---|
OCRJAVA‑343 | Deprecated classes, methods and properties have been removed to simplify the API. | Enhancement |
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR for Java 23.11.0 that may affect the code of existing applications.
Added public APIs:
No changes.
Updated public APIs:
No changes.
Removed public APIs:
BACKWARD INCOMPATIBILITY!
All classes, methods and properties mentioned below have been deprecated in favor of the new API introduces in the version 23.3.0. Please update your code according to the recommendations.
The following public APIs have been removed in Aspose.OCR for Java 23.11.0 release:
Deprecated API | Replacement |
---|---|
CalcSkewImage() methods | Use universal CalculateSkew() method. |
CalcSkewImageFromUri() method | Use universal CalculateSkew() method. |
PreprocessImage() methods | Use Render() and Save() methods. |
RecognizePage() methods | Use universal Recognize() method. |
RecognizePageFromUri() methods | Use universal Recognize() method. |
RecognizeMultiplePages() methods | Use universal Recognize() method. |
RecognizeTiff() methods | Use universal Recognize() method. |
RecognizePdf() methods | Use universal Recognize() method. |
RecognizePageFast() method | Use RecognizeFast() method. |
RecognizeLine() methods | Use universal CalculateSkew() method with setRecognizeSingleLine(true) recognition setting. |
getTextAreas() methods | See Working with image regions for modern approach to bounding boxes detection. |
AsposeOCR(String alphabet) constructor | Define the list of allowed characters through the AllowedSymbols recognition setting. |
DocumentRecognitionSettings class | Use universal image recognition settings. |
setDetectAreas() recognition setting | Disable the document areas detection or override the default detection mode with setDetectAreasMode() recognition setting. |
setAutoSkew() recognition setting | Use separate image preprocessing filters. |
setSkew() recognition setting | Use separate image preprocessing filters. |
setThresholdValue() recognition setting | Use separate image preprocessing filters. |
setAutoContrast() recognition setting | Use separate image preprocessing filters. |
setAutoDenoising() recognition setting | Use separate image preprocessing filters. |
setPreprocessingFilters() recognition setting | Use separate image preprocessing filters. |