Sending image for dewarping

Posting an image to the Aspose.OCR Cloud endpoint https://api.aspose.cloud/v5.0/ocr/dewarpimage allows you to fetch a dewarped image that can be handled by other processing filters or recognized. To authorize the request, pass the access token in Authorization header (Bearer authentication).

The image is provided in a value of image property as a Base64 encoded string.

Return value

If successful, the endpoint returns a string with a unique identifier (GUID) of the dewarping request in the queue.

Otherwise, it returns a HTTP status code corresponding to the error.

What’s next

Dewarping will take a few seconds, depending on the image size and the current Aspose.Cloud load. See the article Fetching dewarped image for information on how to get back the dewarped image.

cURL example