Aspose.OCR Cloud 23.12.0 - Release Notes

What was changed

KeySummaryCategory
OCR‑3737Added 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.

MethodAction
POSTSend text for recognition.
GETFetching recognition results.
DELETERemove 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' \