Extract image text from local file or stream using Aspose.OCR Cloud REST API

Image scanning and text extraction from images is an important aspect in various applications on web, desktop, mobile and cloud. Aspose.OCR Cloud allows you to extract text and recognize characters from documents in the cloud. Once the text is extracted from the image, Aspose.OCR Cloud reads the image and recognizes the fonts such as Arial and Times New Roman, font styles like regular, bold and italic. Aspose.OCR Cloud supports optical character recognition for whole image, partial image or a specific rectangular area of an image file.

There are two approaches used to extract text from images. Firstly, you can upload the desired file to Aspose Cloud Storage using Aspose.OCR Cloud REST API. Then you can extract text from the uploaded image using Aspose.OCR Cloud REST examples. You can also use Aspose.OCR Cloud SDK Examples to extract image text from file uploaded on Aspose Cloud Storage for different languages like .NETJava and PHP.

Another way is to directly extract image text from files on your local system using Aspose.OCR Cloud REST API and SDKs without saving the file to Aspose Cloud Storage. You can use the file path or stream to extract text from images using Aspose.OCR Cloud REST API. The file is sent through request stream to Aspose Cloud servers, processed and the output is sent back as response stream. In this case, the file is not saved on Aspose Cloud Storage. It is a single call process that uploads the file to server, extracts the text from image, sends image text back as response stream and deletes the source file from the server.

We have SDK and REST examples for Aspose.OCR Cloud that help you utilize it for your applications in the cloud.

REST and SDK Examples:

Extract image text from local file

For more details, please refer to Aspose.OCR Cloud documentationAspose.OCR Cloud recognizes a collection of characters from the extracted text and supports different programming languages support for optical character recognition and text extraction from images files.

To get started with Aspose.OCR Cloud API, you only need to sign up at Aspose Cloud and get application information. You can opt for free development account that enables you to evaluate all of our APIs. You may write to us in case of any queries or confusions.