//
//  HWOcrClientAKSK.h
//  OCR
//
//  Created by huawei on 2018/10/31.
//  Copyright © 2018/10/31 huawei. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface HWOcrClientAKSK : NSObject
/**
 * use Api Key, Secret Key sign
 */

- (instancetype)initWithAppKey:(NSString *)appKey AppSecretKey:(NSString *)appSecretKey HttpEndPoint:(NSString *)httpEndPoint;
/**
 *  request ocr service
 */
- (void)requestOcrServiceWithUri:(NSString *)uri
                     image: (UIImage *)image
                   options: (NSDictionary *)options
            successHandler: (void (^)(id result))successHandler
               failHandler: (void (^)(NSError* error, NSInteger errCode))failHandler;
@end
