MPPImageClassifierResult
@interface MPPImageClassifierResult : MPPTaskResult
Represents the classification results generated by ImageClassifier
. *
-
The
ClassificationResult
instance containing one set of results per classifier head. *Declaration
Objective-C
@property (nonatomic, readonly) MPPClassificationResult *_Nonnull classificationResult;
-
Initializes a new
ImageClassifierResult
with the givenClassificationResult
and timestamp (in milliseconds).Declaration
Objective-C
- (nonnull instancetype) initWithClassificationResult: (nonnull MPPClassificationResult *)classificationResult timestampInMilliseconds:(NSInteger)timestampInMilliseconds;
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).