Kofax Mobile SDK API Reference
|
Results from classifying an image. This object is serializable. More...
Public Member Functions | |
ImageClassificationResult () | |
ImageClassificationResult (String classId, float confidence, int orientation) | |
float | getConfidence () |
int | getOrientation () |
String | getClassId () |
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.
ImageClassificationResult | ( | String | classId, |
float | confidence, | ||
int | orientation | ||
) |
The results returned from an image classification.
classId | |
confidence | |
orientation |
String getClassId | ( | ) |
ID that identifies the classification of the image. Such as "CA2" for California Drivers license, Type 2.
float getConfidence | ( | ) |
Value that indicates confidence of Classification operation on an image. Higher numbers > 0 indicate higher confidence. Numbers < 0 indicate lower confidence.
int getOrientation | ( | ) |
Orientation of the image detected by the ImageClassifier Object.