Kofax Mobile SDK API Reference
Public Member Functions | List of all members
ImageClassificationResult Class Reference

Results from classifying an image. This object is serializable. More...

Inheritance diagram for ImageClassificationResult:

Public Member Functions

 ImageClassificationResult ()
 
 ImageClassificationResult (String classId, float confidence, int orientation)
 
float getConfidence ()
 
int getOrientation ()
 
String getClassId ()
 

Detailed Description

Results from classifying an image. This object is serializable.

The ImageClassificationResult object contains the results from classifying an image using the ImageClassifier Object. The results will be attached to the Image that was used for the image classification process.

ImageClassificationResult objects support serialization in a similar way to Image objects. The Image object documentation provides code examples for serialization and deserialization.

Deprecated:
Deprecated in SDK 3.4.

Constructor & Destructor Documentation

ImageClassificationResult ( String  classId,
float  confidence,
int  orientation 
)

The results returned from an image classification.

Parameters
classId
confidence
orientation

Member Function Documentation

String getClassId ( )

ID that identifies the classification of the image. Such as "CA2" for California Drivers license, Type 2.

Returns
the class ID
float getConfidence ( )

Value that indicates confidence of Classification operation on an image. Higher numbers > 0 indicate higher confidence. Numbers < 0 indicate lower confidence.

Returns
the classification confidence
int getOrientation ( )

Orientation of the image detected by the ImageClassifier Object.

Returns
the detected image orientation

The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.