Aspose.OCR Cloud SDK for iOS - v1.0.0

Rating: No reviews yet
Downloads: 24
Released: Nov 24, 2015
Updated: Nov 24, 2015 by asposeocr
Dev status: Stable Help Icon

Recommended Download

Application Aspose.OCR_Cloud_SDK_for_Objective_C_v1.0.0.zip
application, 54K, uploaded Nov 24, 2015 - 24 downloads

Release Notes

Aspose.OCR Cloud SDK for Objective C (iOS)

This repository contains Aspose.OCR Cloud SDK for Objective C - v1.0.0 source code. This SDK allows you to work with Aspose.OCR Cloud REST APIs in your iOS applications quickly and easily.

How to use the SDK?

1. Download the latest code version.
2. Open your project in Xcode, then drag and drop ocr folder onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
3. Include Aspose-OCR-SDK wherever you need it with #import "ASPOcrApi.h".

CocoaPods
CocoaPods is the recommended way to add Aspose-OCR-SDK to your project.
1. Add a pod entry for Aspose-OCR-SDK to your Podfile pod 'AsposeOCRCloud'
2. Install the pod(s) by running pod install.
3. Include Aspose-OCR-SDK wherever you need it with #import "ASPOcrApi.h".

Usage
An example is given below to give you a quick preview of how APIs of this SDK can be called.
/*Recognize image text from some url if provided or from the request body content, language can be selected, default dictionaries can be used for correction.*/

#import "ASPApiClient.h"
#import "ASPOcrApi.h"

//Get App key and App SID from https://cloud.aspose.com
[ASPApiClient setAppKey:@"" andAppSID:@""];

ASPOcrApi *ocrApi = [[ASPOcrApi alloc] init];

NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"Sampleocr" withExtension:@"bmp"];

[ocrApi postOcrFromUrlOrContentWithCompletionBlock:nil
           language:@"English"
           useDefaultDictionaries:nil
           file:pathToFile
           completionHandler:^(ASPOCRResponse *output, NSError *error) {
               BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
               XCTAssertTrue(isFileExist, @"Failed to recognize image text from some URL if provided or from the request body content.");                            
    }];


Dependency
This SDK has dependency on following libraries.
1. AFNetworking
2. JSONModel
3. ISO8601
4. AsposeStorageCloud

Reviews for this release

No reviews yet for this release.