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
What’s new in the latest releaseThis is a major revamp release for Aspose.OCR Cloud SDK for Java. It covers all the [Aspose.OCR Cloud APIs][1]. This SDK provides a complete solution for character recognition in Java using powerful [Aspose.OCRs Cloud APIs][2], 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 Java is freely available on your favorite GitHub repository.
- Aspose.OCR Cloud SDK for Java - v1.0.0
Setup Aspose.OCR Cloud SDK for Java is also available as released artifacts in the [Aspose Maven Repository][3]. You can bypass GitHub source code repository and depend directly on the released artifacts from Aspose Maven Repository by adding the following repository and dependency to development environments like Eclipse or Apache Maven: Aspose Maven Repository
<repositories>
<repository>
<id>aspose-maven-repository</id>
<name>Aspose Maven Repository</name>
<url>http://repository.aspose.cloud/repo/</url>
</repository>
</repositories>
```**Maven Dependency**
//Instantiate Aspose OCR Cloud API SDK OcrApi ocrApi = new OcrApi(apiKey, appSID,true);
//set input file name String fileName = “Sampleocr.bmp”; String language = “”; Integer rectX = 0; Integer rectY = 0; Integer rectWidth = 0; Integer rectHeight = 0; Boolean useDefaultDictionaries = true; String storage = “”; String folder = “”;
//upload files to aspose cloud storage storageApi.PutCreate(fileName, “”, storage, new File(this.getClass().getResource("/" + fileName).toURI()));
//invoke Aspose.OCR Cloud SDK API to extract text and partsinfo from an image
OCRResponse apiResponse = ocrApi.GetRecognizeDocument(fileName, language, rectX, rectY, rectWidth, rectHeight, useDefaultDictionaries, storage, folder);
if(apiResponse!=null && apiResponse.getStatus().equals(“OK”)){
System.out.println(“Extracted Text :: " + apiResponse.getText());
}
}catch(Exception e){
e.printStackTrace();
}
* **[Extract OCR or HOCR Text from Images][6]** – 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][7]** – 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][8]** – 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][9]** – This feature allows you to extract image text from local file using Aspose.OCR Cloud API in your applications.
## Start a Free Trial TodayStart a free trial today – all you need is to [sign up][10] 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]: https://www.aspose.com/docs/display/ocrcloud/Home
[2]: https://www.aspose.com/cloud/ocr-api.aspx
[3]: http://maven.aspose.com/artifactory/simple/ext-release-local/
[4]: https://www.aspose.com/docs/display/ocrcloud/Home
[5]: https://www.aspose.com/docs/display/ocrcloud/Programmers+Guide
[6]: https://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+Images
[7]: https://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+a+specific+Block
[8]: https://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+Images+without+using+Storage
[9]: https://www.aspose.com/docs/display/ocrcloud/Extract+OCR+or+HOCR+Text+from+Image+URL
[10]: https://dashboard.aspose.cloud/