Aspose.OCR CloudAspose.OCR Cloud’s platform independent character recognition API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud. Aspose.OCR Cloud is a cloud-based REST API for optical character recognition and document scanning. It allows you to scan documents and recognize characters. Recognize text in English and other languages, and recognize text in only part of an image. Aspose.OCR Cloud supports a variety of fonts in different styles, like regular, bold, and italic, and different image formats. You can use Aspose.OCR Cloud in many scenarios, for example, extracting text and saving to a database. [Learn More][1] [![][2] What’s new in the latest release This is a major revamp release for Aspose.OCR Cloud SDK for Python. It covers all the [Aspose.OCR Cloud APIs][3]. This SDK provides a complete solution for character recognition in python using powerful [Aspose.OCRs Cloud APIs][4], so you can add OCR functionality in your applications seamlessly. Source Code Repository Complete source code of this release of Aspose.OCR Cloud SDK for Python is freely available on your favorite [GitHub][5] and [Codeplex][6] repositories.

Setup Aspose.OCR Cloud SDK for Python is also available as released package in the [PyPI (Python Package Index)][7]. You can bypass [source code repository][8] and depend directly on the released package by installing from PyPI: PyPI Aspose.OCR Cloud SDK for Python Installation

 pip install asposeocrcloud
OR
easy_install asposeocrcloud 
```Data In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3rd party cloud storage using Aspose.Storage Cloud SDK for Python. Quick SDK Tutorial

import asposeocrcloud from asposeocrcloud.OcrApi import OcrApi from asposeocrcloud.OcrApi import ApiException

import asposestoragecloud from asposestoragecloud.StorageApi import StorageApi from asposestoragecloud.StorageApi import ResponseMessage

apiKey = “XXXXX” #sepcify App Key appSid = “XXXXX” #sepcify App SID apiServer = “http://api.aspose.com/v1.1" data_folder = “../../data/”

#Instantiate Aspose Storage API SDK storage_apiClient = asposestoragecloud.ApiClient.ApiClient(apiKey, appSid, True) storageApi = StorageApi(storage_apiClient) #Instantiate Aspose OCR API SDK api_client = asposeocrcloud.ApiClient.ApiClient(apiKey, appSid, True) ocrApi = OcrApi(api_client);

#set input file name name = “Sampleocr.bmp”

try: #upload file to aspose cloud storage response = storageApi.PutCreate(name, data_folder + name)

#invoke Aspose.OCR Cloud SDK API to extract text and partsinfo from an image
response = ocrApi.GetRecognizeDocument(name)

if response.Status == 'OK':
    print "Text :: " + response.Text

except ApiException as ex: print “ApiException:” print “Code:” + str(ex.code) print “Message:” + ex.message


*   **[Extract OCR or HOCR Text from Images][11]** – This feature allows you to extract text from a BMP or TIFF image using Aspose.OCR Cloud API in your applications
*   **[Extract OCR or HOCR Text from a specific Block][12]** – This feature allows you to extract text from a specific block of an image using Aspose.OCR Cloud API in your applications.
*   **[Extract OCR or HOCR Text from Images without using Storage][13]** – This feature allows you to extract image text from local file using Aspose.OCR Cloud API in your applications.
*   **[Extract OCR or HOCR Text from Image URL][14]** – This feature allows you to extract image text from local file using Aspose.OCR Cloud API in your applications.

Start a Free Trial Today Start a free trial today – all you need is to [sign up][15] with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.




[1]: http://www.aspose.com/cloud/ocr-api.aspx
[2]: https://blog.aspose.com/wp-content/uploads/sites/2/2015/11/OCRCloud-Format-Supporte.png "Aspose.OCR Cloud")](http://www.aspose.com/cloud/ocr-api.aspx
[3]: http://www.aspose.com/docs/display/ocrcloud/Home
[4]: http://www.aspose.com/cloud/ocr-api.aspx
[5]: https://github.com/aspose-ocr-cloud/
[6]: https://asposeocrcloud.codeplex.com/SourceControl/latest#SDKs/Aspose.OCR_Cloud_SDK_for_Python/
[7]: https://pypi.python.org/pypi/asposeocrcloud/
[8]: https://github.com/aspose-ocr-cloud/
[9]: http://www.aspose.com/docs/display/ocrcloud/Home
[10]: http://www.aspose.com/docs/display/ocrcloud/Programmers+Guide
[11]: http://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+Images
[12]: http://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+a+specific+Block
[13]: http://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+Images+without+using+Storage
[14]: http://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+Image+URL
[15]: http://dashboard.aspose.cloud/