Kofax Mobile SDK API Reference
KFXIDExtractionParameters.h
Go to the documentation of this file.
1 //
2 // KFXIDExtractionParameters.h
3 // kfxLibEngines
4 //
5 // Copyright (c) 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 "kfxKOEIDRegion.h"
11 
12 @class kfxKEDImage;
13 @class kfxKEDBarcodeResult;
14 
16 
19 typedef NS_ENUM(NSInteger, KFXIDType)
20 {
23 };
24 
26 
36 @interface KFXIDExtractionParameters : NSObject
37 
39 
46 @property (nonatomic, assign, readonly) KFXIDType type;
47 
49 
59 @property (nonatomic, assign, readonly) kfxKOEIDRegion region DEPRECATED_ATTRIBUTE;
60 
62 
67 @property (nonatomic, strong, readonly) NSString* projectName;
68 
70 
77 @property (nonatomic, strong, readonly) kfxKEDImage* frontImage;
78 
80 
87 @property (nonatomic, strong, readonly) kfxKEDImage* backImage;
88 
90 
97 @property (nonatomic, strong, readonly) NSArray<kfxKEDBarcodeResult*>* frontBarcodes;
98 
100 
107 @property (nonatomic, strong, readonly) NSArray<kfxKEDBarcodeResult*>* backBarcodes;
108 
110 
115 @property (nonatomic, assign, readonly) BOOL isProcessed;
116 
118 
123 @property (nonatomic, assign, readonly) BOOL extractFaceImage;
124 
126 
131 @property (nonatomic, assign, readonly) BOOL extractSignatureImage;
132 
134 
144 + (NSString*)projectNameForRegion:(kfxKOEIDRegion)region idType:(KFXIDType)type;
145 
147 
158 + (void)regionForProject:(NSString*)projectName region:(kfxKOEIDRegion*)region idType:(KFXIDType*)type;
159 
161 
179 - (instancetype)initWithType:(KFXIDType)type region:(kfxKOEIDRegion)region frontImage:(kfxKEDImage*)frontImage frontBarcodes:(NSArray<kfxKEDBarcodeResult*>*)frontBarcodes backImage:(kfxKEDImage*)backImage backBarcodes:(NSArray<kfxKEDBarcodeResult*>*)backBarcodes isProcessed:(BOOL)isProcessed DEPRECATED_ATTRIBUTE;
180 
182 
197 - (instancetype)initWithType:(KFXIDType)type projectName:(NSString*)projectName frontImage:(kfxKEDImage*)frontImage frontBarcodes:(NSArray<kfxKEDBarcodeResult*>*)frontBarcodes backImage:(kfxKEDImage*)backImage backBarcodes:(NSArray<kfxKEDBarcodeResult*>*)backBarcodes isProcessed:(BOOL)isProcessed;
198 
200 
217 - (instancetype)initWithType:(KFXIDType)type projectName:(NSString*)projectName frontImage:(kfxKEDImage*)frontImage frontBarcodes:(NSArray<kfxKEDBarcodeResult*>*)frontBarcodes backImage:(kfxKEDImage*)backImage backBarcodes:(NSArray<kfxKEDBarcodeResult*>*)backBarcodes isProcessed:(BOOL)isProcessed extractFaceImage:(BOOL)extractFaceImage extractSignatureImage:(BOOL)extractSignatureImage;
218 
219 @end
kfxKEDImage * frontImage
Front image parameter.
Definition: KFXIDExtractionParameters.h:77
Definition: KFXIDExtractionParameters.h:21
ID exraction parameters object.
Definition: KFXIDExtractionParameters.h:36
KFXIDType type
ID type parameter.
Definition: KFXIDExtractionParameters.h:46
KFXIDType
An enumeration containing possible ID types.
Definition: KFXIDExtractionParameters.h:19
kfxKOEIDRegion region DEPRECATED_ATTRIBUTE
Region parameter.
Definition: KFXIDExtractionParameters.h:59
kfxKOEIDRegion
An enumeration containing the possible region values.
Definition: kfxKOEIDRegion.h:16
NSArray< kfxKEDBarcodeResult * > * frontBarcodes
Front barcode array parameter.
Definition: KFXIDExtractionParameters.h:97
A single barcode found data item.
Definition: kfxKEDBarcodeResult.h:70
Definition: KFXIDExtractionParameters.h:22
NSArray< kfxKEDBarcodeResult * > * backBarcodes
Back barcode array parameter.
Definition: KFXIDExtractionParameters.h:107
NSString * projectName
Project name parameter.
Definition: KFXIDExtractionParameters.h:67
BOOL extractSignatureImage
Extract signature flag.
Definition: KFXIDExtractionParameters.h:131
BOOL isProcessed
Is processed flag.
Definition: KFXIDExtractionParameters.h:115
An Image object contains an image and associated data.
Definition: kfxKEDImage.h:157
kfxKEDImage * backImage
Back image parameter.
Definition: KFXIDExtractionParameters.h:87
BOOL extractFaceImage
Extract face flag.
Definition: KFXIDExtractionParameters.h:123
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.