Aspose.OCR Cloud SDK
Project description
Aspose OCR Cloud SDK for Python
Aspose OCR Cloud Python SDK is a simple OCR technology, which you can use in your application to convert image to text.
Aspose.OCR Cloud is a simple SDK used to add text recognition to your app with merely a few lines of code.
In detail, it's a set of SDKs for optical character recognition and document scanning in our Cloud. It supports reading and recognizing text from most commonly used raster image formats. Just pass a specific image to the Aspose.OCR Cloud API, and it will return a response with recognized text.
It is easy to get started with Aspose.OCR Cloud, and there is nothing to install. Create an account at Aspose Cloud and get your application information, then you are ready to use SDKs
Release 20.8:
We are glad to introduce this new Python SDK
Features:
- Automatic skew correction
- Automatic and manual document layout detection
- Advanced automated image pre-processing
- Extract and recognize text from images via OCR
- Supports multiple international languages
- High speed with no hardware resources
How to use the SDK?
Our API is completely independent of your operating system, database system, or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone, and time-consuming. Therefore, we have provided and support SDKs in many development languages to make it easier to integrate with us.
Examples
from asposeocrcloud.configuration import Configuration
from asposeocrcloud.api.ocr_api import OcrApi
configuration = Configuration(apiKey="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", appSid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX")
api = OcrApi(configuration)
file_path = r"\your\file\path\5.png"
res = api.post_recognize_from_content(file_path)
print(res.text)
Quickstart
Make your solution using SDK, follow these steps:
1. Get API keys if you haven't
Make a personal account on Aspose Cloud Dashboard and click Get Keys. These keys are useful for all Aspose Cloud products. If you have any trouble, look at this detailed manual.
2. Run Demo
- Checkout the SDK or get from pip (pip install aspose-ocr-cloud)
- Set Your AppSid & AppKey
- Run Python console Demo or UnitTests
Structure
This project includes:
- Python console demo application - "./demo"
- Module "asposeocrcloud" - this is SDK located in "./asposeocrcloud". You can integrate it in your application. It contains both OCR and Aspose.Storage API
- Module "test" - "./test" UnitTest. You can take a look at them to see various code examples.
- Module "demo" - "./demo" Sample console demo project.
- Folder "docs" - "./docs" Full documentation for Aspose.OCR SDK in HTML format.
Dependencies
Aspose.OCR Cloud SDKs
.NET & Core | Java | PHP | Ruby | Python | Node.js | Android | Objective-C | Perl |
Resources
- Website: https://www.aspose.cloud
- Product Home: Aspose.OCR Cloud
- Documentation: Aspose.OCR Cloud Documentation
- Forum: Aspose.OCR Cloud Forum
- Blog: Aspose.OCR Cloud Blog
- Pricing: Aspose Cloud Pricing
- Try out Aspose OCR online for free Aspose Image to Text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aspose_ocr_cloud-20.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d50eafcea82f6f731da530cd08e6f66d2ed5e260709136e0cf87f4f1f3588aae |
|
MD5 | a9e21537d5a6b43a0b00f2c7d3a073c2 |
|
BLAKE2b-256 | b885d77dcde78253860bf0393c9c9d225721eefe73777b0a6e37d9a6212dc497 |