Extract text from images quickly and easily using Aspose.OCR APIs of Aspose Cloud SDK for iOS

Aspose.OCR 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.

Working with Aspose.OCR

  1. To integrate Aspose Cloud SDK into your iOS project, please read Getting Started with the Aspose Cloud iOS SDK
  2. Sign up with Aspose Cloud service at: https://cloud.aspose.com/SignUp
  3. Create a new App and get your App SID and App Key.
  4. Call setAppKey:andAppSID: class method of AsposeApp with your App SID and App Key as an arguments to this method.
  5. Set the base product URI to http://api.aspose.com/v1.1 by calling setBaseProductUri: class method of Product.
  6. Import AsposeAPIs.h header file in your class.
  7. Now we are ready to work with Aspose.OCR APIs.
  8. Extract text from a BMP or TIFF image by calling following method
  9. + (ASPOSEOCRResponse *) extractOCRorHOCRTextFromImages:(NSString *) fileName 
                            language:(NSString *) language 
                            useDefaultDictionaries:(BOOL) useDefaultDictionaries;
  10. Extract text from a specific block of an image by calling following method
  11. + (ASPOSEOCRResponse *) extractOCRorHOCRTextFromASpecificBlock:(NSString *) fileName 
                            language:(NSString *) language 
                            rectX:(int) rectX rectY:(int) rectY 
                            rectWidth:(int) rectWidth rectHeight:(int) rectHeight 
                            useDefaultDictionaries:(BOOL) useDefaultDictionaries;
  12. Extract image text from local file by calling following method
  13. + (ASPOSEOCRResponse *) extractImageTextFromlocalFile:(NSData *) fileData 
                            language:(NSString *) language 
                            useDefaultDictionaries:(BOOL)useDefaultDictionaries;

Unit Tests for Aspose.OCR

To help you get started we also provided unit test coverage to Aspose.OCR APIs.

Download

Please download latest release of Aspose_Cloud_SDK_For_iOS from following URL

  • https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_iOS/releases/tag/v1.0.2

Start a Free Trial Today

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

Customer Feedback

Your feedback is very important to us. Please feel free to provide feedback and raise feature requirements. We are keen to implement customer driven features since we are a 100% customer driven company.