Aspose.OCR Cloud 23.6.0 - Release Notes
This article contains a summary of recent changes, enhancements and bug fixes in Aspose.OCR Cloud 23.6.0 (June 2023) release.
What was changed
| Key | Summary | Category | 
|---|---|---|
| OCR‑3454 | Extracting text from photographed signboards, price tags, plates, food labels, and similar images. | New feature | 
| OCR‑2893 | Detecting fonts and styles in scans or photographs. | New feature | 
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR Cloud 23.6.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/RecognizeLabel
Read text literally from any source: signboards, price tags, plates, food labels and many more. Best suited for street photos and images from the web.
| Method | Action | 
|---|---|
| POST | Submit the photographed label for recognition. | 
| GET | Fetch a text or searchable PDF file of the recognized label. | 
| DELETE | Remove the label recognition task from the queue. | 
https://api.aspose.cloud/v5.0/ocr/IdentifyFont
Identify the font (typeface) and text style on a scan or photograph.
| Method | Action | 
|---|---|
| POST | Send image for font identification. | 
| GET | Fetch information about fonts and styles found in an image. | 
| DELETE | Remove the font identification 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:
Read text from street label
Send image for recognition:
curl --location --request POST 'https://api.aspose.cloud/v5.0/ocr/RecognizeLabel' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...HaRYOxBcCRCPLnrFCVXpw7UA' \
--data-raw '{
  "image": "iVBORw0KGgoAAAANSUh...d1iEAAAAASUVORK5CYII=",
  "settings": {
    "language": "English",
    "makeSkewCorrect": true,
    "resultType": "Text"
  }
}'
Fetch the label text:
curl --location --request GET 'https://api.aspose.cloud/v5.0/ocr/RecognizeLabel?id=c4b60313-4f78-45f8-b708-069eb98dc22e' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...HaRYOxBcCRCPLnrFCVXpw7UA' \
Detect fonts and text style in the image
Send image for font detection:
curl --location --request POST 'https://api.aspose.cloud/v5.0/ocr/IdentifyFont' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...HaRYOxBcCRCPLnrFCVXpw7UA' \
--data-raw '{
  "image": "/9j/4AAQSkZJRgABAgAAZABkAAD...8AkTf/2Q==",
  "settings": {
    "makeSkewCorrect": true,
    "resultType": "Text"
  }
}'
Fetch information on fonts and styles:
curl --location --request GET 'https://api.aspose.cloud/v5.0/ocr/IdentifyFont?id=c11c975d-5124-4555-9561-af40fb95ba07' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...HaRYOxBcCRCPLnrFCVXpw7UA' \