Atalasoft MobileImage API Reference
kfxKCLImageClassifier.h
Go to the documentation of this file.
1 // Kofax Mobile Capture API Reference File
2 // kfxKCLImageClassifier.h
3 // Included within kfxLibEngines
4 //
5 // Copyright (c) 2012 - 2016 Kofax. Use of this code is with permission pursuant to Kofax license terms.
6 //
7 
8 #import <Foundation/Foundation.h>
9 
10 #import "kfxKEDImage.h"
11 
13 
15 
20 @protocol kfxKCLDelegate <NSObject>
21 
22 @optional
23 
25 
35 - (void)imageClassifier:(kfxKCLImageClassifier *)imageClassifier
36  status:(int)status
37  statusMsg:(NSString *)statusMsg
38  image:(kfxKEDImage *)image;
39 
40 @end
41 
43 
58 @interface kfxKCLImageClassifier : NSObject
59 
61 
127 
129 
133 @property (atomic, strong) id<kfxKCLDelegate> delegate;
134 
136 
139 @property (atomic, assign) int maxNumberOfResults;
140 
142 
153 - (int)loadConfigurationFile:(NSString *)configFileName;
154 
156 
167 - (int)loadModel:(NSString *)modelFileName;
168 
170 
189 - (int)classifyImage:(kfxKEDImage *)imageToClassify;
190 
192 
197 - (void)SessionCreate DEPRECATED_ATTRIBUTE;
198 
200 
204 - (void)SessionDismiss DEPRECATED_ATTRIBUTE;
205 
206 @end
The Image Classifier Singleton Object.
Definition: kfxKCLImageClassifier.h:58
id< kfxKCLDelegate > delegate
A delegate to receive messages from the engine.
Definition: kfxKCLImageClassifier.h:133
Image Classification Protocol.
Definition: kfxKCLImageClassifier.h:20
An Image object contains an image and associated data.
Definition: kfxKEDImage.h:158
int maxNumberOfResults
The maximum number of results to return from a classify operation.
Definition: kfxKCLImageClassifier.h:139
kfxKCLImageClassifier * DEPRECATED_ATTRIBUTE()
The Classifier factory method.
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.