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

Results from classifying a Document using an RTTI web service. This object is serializable. More...

Inheritance diagram for ClassificationResult:

Public Member Functions

 ClassificationResult (String classId, float confidence)
 
ClassificationResult clone ()
 Performs a field-for-field copy of instances of this class. More...
 
float getConfidence ()
 
String getClassId ()
 

Detailed Description

Results from classifying a Document using an RTTI web service. This object is serializable.

The ClassificationResult object contains the results from classifying an image using an RTTI web service call which performs classification and extraction. The results can be stored as сlassification alternatives in a Document object by setting the classificationAlternatives property.

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

Constructor & Destructor Documentation

ClassificationResult ( String  classId,
float  confidence 
)

The results returned from a Document classification via RTTI.

Parameters
classIdDocument classification identifier.
confidenceValue that indicates confidence of сlassification operation

Member Function Documentation

Performs a field-for-field copy of instances of this class.

String getClassId ( )

Document classification identifier.

Returns
classification identifier.
float getConfidence ( )

Value that indicates confidence of сlassification operation on a Document. Higher numbers > 0 indicate higher confidence. Numbers < 0 indicate lower confidence.

Returns
confidence value.

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.