ImageClassifierResult
class ImageClassifierResult : TaskResult
Represents the classification results generated by ImageClassifier
. *
-
The
ClassificationResult
instance containing one set of results per classifier head. *Declaration
Swift
var classificationResult: ClassificationResult { get }
-
Initializes a new
ImageClassifierResult
with the givenClassificationResult
and timestamp (in milliseconds).Declaration
Swift
init(classificationResult: ClassificationResult, timestampInMilliseconds: Int)
Parameters
classificationResult
The
ClassificationResult
instance containing one set of results per classifier head.timestampInMilliseconds
The timestamp (in milliseconds) for this result.
Return Value
An instance of
ImageClassifierResult
initialized with the givenClassificationResult
and timestamp (in milliseconds).