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 - 2017 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 
119 @interface kfxKCLImageClassifier : NSObject
120 
122 
126 @property (atomic, strong) id<kfxKCLDelegate> delegate;
127 
129 
132 @property (atomic, assign) int maxNumberOfResults;
133 
135 
146 - (int)loadConfigurationFile:(NSString *)configFileName;
147 
149 
160 - (int)loadModel:(NSString *)modelFileName;
161 
163 
182 - (int)classifyImage:(kfxKEDImage *)imageToClassify;
183 
184 @end
The Image Classifier Class.
Definition: kfxKCLImageClassifier.h:119
id< kfxKCLDelegate > delegate
A delegate to receive messages from the engine.
Definition: kfxKCLImageClassifier.h:126
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:132
Untitled Document © 2017 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.