Kofax Mobile SDK API Reference
kfxKOEIDExtractor.h
Go to the documentation of this file.
1 //
2 // kfxKOEIDExtractor.h
3 // kfxLibEngines
4 //
5 // Copyright (c) 2014-2017 Kofax. All rights reserved. Kofax Confidential.
6 // Unauthorized use, duplication, or distribution, or disclosure is strictly prohibited.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "kfxKOEImageField.h"
11 
14 @class kfxKEDImage;
16 
17 extern NSString* const KFXAdditionalErrorsKey;
18 
20 
25 @interface KFXIDExtractionResult : NSObject
26 
28 
33 @property (nonatomic, assign) BOOL isBarcodeRead;
34 
36 
41 @property (nonatomic, assign) BOOL isOcrRead;
42 
44 
53 @property (nonatomic, assign) float documentVerificationConfidenceRating;
54 
56 
63 @property (nonatomic, strong) NSArray* fields;
64 
66 
78 @property (nonatomic, strong) kfxKEDClassificationResult* frontClassification;
79 
81 
93 @property (nonatomic, strong) kfxKEDClassificationResult* backClassification;
94 
96 
103 @property (nonatomic, strong) kfxKOEImageField* faceImageField;
104 
106 
113 @property (nonatomic, strong) kfxKOEImageField* signatureImageField;
114 
115 @end
116 
118 
121 @protocol kfxKOEIDExtractorDelegate<NSObject>
122 
123 @required
124 
126 
140 - (void)extractionResult:(KFXIDExtractionResult*)result frontError:(NSError*)frontError backError:(NSError*)backError;
141 
142 @end
143 
144 
146 
150 
151 @optional
152 
154 
167 - (void)frontProcessedImage:(kfxKEDImage*)processedImage;
168 
169 @optional
170 
172 
188 - (void)backProcessedImage:(kfxKEDImage*)processedImage;
189 
190 @end
191 
192 
194 
222 @interface kfxKOEIDExtractor : NSObject
223 
225 
230 @property (nonatomic, weak) id<kfxKOEIDExtractorDelegate> delegate;
231 
232 
234 
242 @property (nonatomic, weak) id<kfxKOEIDImageProcessingDelegate> imageProcessingDelegate;
243 
244 
246 
253 - (instancetype)initWithProjectProvider:(id<KFXProjectProviderProtocol>)projectProvider;
254 
256 
266 - (void)extract:(KFXIDExtractionParameters*)parameters;
267 
269 
276 - (void)cancelExtraction;
277 
278 @end
A single classification result.
Definition: kfxKEDClassificationResult.h:42
NSString *const KFXAdditionalErrorsKey
kfxKEDClassificationResult * backClassification
Back side classification result.
Definition: kfxKOEIDExtractor.h:93
Image Field object.
Definition: kfxKOEImageField.h:18
ID exraction parameters object.
Definition: KFXIDExtractionParameters.h:36
BOOL isBarcodeRead
Barcode read success indicator.
Definition: kfxKOEIDExtractor.h:33
ID Image Processing Protocol.
Definition: kfxKOEIDExtractor.h:149
kfxKEDClassificationResult * frontClassification
Front side classification result.
Definition: kfxKOEIDExtractor.h:78
BOOL isOcrRead
OCR success indicator.
Definition: kfxKOEIDExtractor.h:41
The ID Extractor Class.
Definition: kfxKOEIDExtractor.h:222
Project Provider protocol.
Definition: KFXProjectProviderProtocol.h:17
NSArray * fields
An array of extracted fields.
Definition: kfxKOEIDExtractor.h:63
float documentVerificationConfidenceRating
ID verification confidence rating.
Definition: kfxKOEIDExtractor.h:53
kfxKOEImageField * signatureImageField
The signature image field.
Definition: kfxKOEIDExtractor.h:113
ID Extraction Result.
Definition: kfxKOEIDExtractor.h:25
ID Extraction Protocol.
Definition: kfxKOEIDExtractor.h:121
An Image object contains an image and associated data.
Definition: kfxKEDImage.h:157
kfxKOEImageField * faceImageField
The face image field.
Definition: kfxKOEIDExtractor.h:103
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.