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 
54 @property (nonatomic, strong, readonly) NSString* projectName;
55 
57 
64 @property (nonatomic, strong, readonly) kfxKEDImage* frontImage;
65 
67 
74 @property (nonatomic, strong, readonly) kfxKEDImage* backImage;
75 
77 
84 @property (nonatomic, strong, readonly) NSArray<kfxKEDBarcodeResult*>* frontBarcodes;
85 
87 
94 @property (nonatomic, strong, readonly) NSArray<kfxKEDBarcodeResult*>* backBarcodes;
95 
97 
102 @property (nonatomic, assign, readonly) BOOL isProcessed;
103 
105 
110 @property (nonatomic, assign, readonly) BOOL extractFaceImage;
111 
113 
118 @property (nonatomic, assign, readonly) BOOL extractSignatureImage;
119 
121 
131 + (NSString*)projectNameForRegion:(kfxKOEIDRegion)region idType:(KFXIDType)type;
132 
134 
145 + (void)regionForProject:(NSString*)projectName region:(kfxKOEIDRegion*)region idType:(KFXIDType*)type;
146 
148 
155 + (NSString*)subProjectForProject:(NSString*)project;
156 
158 
175 - (instancetype)initWithType:(KFXIDType)type projectName:(NSString*)projectName frontImage:(kfxKEDImage*)frontImage frontBarcodes:(NSArray<kfxKEDBarcodeResult*>*)frontBarcodes backImage:(kfxKEDImage*)backImage backBarcodes:(NSArray<kfxKEDBarcodeResult*>*)backBarcodes isProcessed:(BOOL)isProcessed DEPRECATED_ATTRIBUTE;
176 
178 
191 - (instancetype)initWithFrontImage:(kfxKEDImage*)frontImage frontBarcodes:(NSArray<kfxKEDBarcodeResult*>*)frontBarcodes backImage:(kfxKEDImage*)backImage backBarcodes:(NSArray<kfxKEDBarcodeResult*>*)backBarcodes isProcessed:(BOOL)isProcessed;
192 
194 
211 - (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;
212 
213 @end
kfxKEDImage * frontImage
Front image parameter.
Definition: KFXIDExtractionParameters.h:64
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
An enumeration containing the possible region values.
Definition: kfxKOEIDRegion.h:16
NSArray< kfxKEDBarcodeResult * > * frontBarcodes
Front barcode array parameter.
Definition: KFXIDExtractionParameters.h:84
A single barcode found data item.
Definition: kfxKEDBarcodeResult.h:70
Definition: KFXIDExtractionParameters.h:22
NSArray< kfxKEDBarcodeResult * > * backBarcodes
Back barcode array parameter.
Definition: KFXIDExtractionParameters.h:94
NSString * projectName
Project name parameter.
Definition: KFXIDExtractionParameters.h:54
BOOL extractSignatureImage
Extract signature flag.
Definition: KFXIDExtractionParameters.h:118
BOOL isProcessed
Is processed flag.
Definition: KFXIDExtractionParameters.h:102
An Image object contains an image and associated data.
Definition: kfxKEDImage.h:157
kfxKEDImage * backImage
Back image parameter.
Definition: KFXIDExtractionParameters.h:74
BOOL extractFaceImage
Extract face flag.
Definition: KFXIDExtractionParameters.h:110
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.