ClassifierResult class

Container for classification results across any MediaPipe task.

Inheritance

Constructors

ClassifierResult({required Iterable<Classifications> classifications})
Instantiates a ClassifierResult instance with fake values for testing.

Properties

classifications Iterable<BaseClassifications>
The classification results for each head of the model.
no setteroverride
firstClassification BaseClassifications?
Convenience helper for the first Classifications object.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isClosed bool
Tracks whether this object has been properly released via dispose.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases all resources for this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited