Aspose.OCR Cloud 23.12.0 - Release Notes
This article contains a summary of recent changes, enhancements and bug fixes in Aspose.OCR Cloud 23.12.0 (December 2023) release.
What was changed
Key | Summary | Category |
---|---|---|
OCR‑3737 | Added a free API for evaluating image-to-text conversion that works without authorization. Some restrictions apply. See below for details. | New feature |
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR Cloud 23.12.0 that may affect the code of existing applications.
Added public APIs:
The following public APIs have been introduced in this release:
https://api.aspose.cloud/v5.0/ocr/RecognizeImageTrial
Extracts the machine-readable text from the image or PDF. This API is similar to the existing image recognition, but does not require authorization, so there is no need to generate an access token.
The evaluation endpoint replaces 10% of the words in recognition results with asterisks (*). The sequence of masked words remains unchanged upon re-submitting the identical image for recognition.
Method | Action |
---|---|
POST | Send text for recognition. |
GET | Fetching recognition results. |
DELETE | Remove the recognition task from the queue. |
Updated public APIs:
No changes
Removed public APIs:
No changes.
Examples
The examples below illustrate the changes introduced in this release:
Convert image to text in free (evaluation) mode
Send image for recognition:
curl --request POST --location 'https://api.aspose.cloud/v5.0/ocr/RecognizeImageTrial' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--data-raw '{
"image": "iVBORw0KGgoAAAANSUh...d1iEAAAAASUVORK5CYII=",
"settings": {
"language": "English",
"resultType": "Text"
}
}'
Fetch the extracted text:
curl --request GET --location 'https://api.aspose.cloud/v5.0/ocr/RecognizeImageTrial?id=TTS01232-9d40-4f2d-8eda-f1fc0b12bce6' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \