BaseClassifications class abstract
Dart representation of MediaPipe's "Classifications" concept.
Represents the list of classifications for a given classifier head. Typically used as a result for classification tasks.
See also:
- Implementers
Constructors
Properties
-
categories
→ Iterable<
BaseCategory> -
A list of Category objects which contain the actual classification
information, including human-readable labels and probability scores.
no setter
- firstCategory → BaseCategory?
-
Convenience getter for the first Category out of the categories list.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headIndex → int
-
The index of the classifier head these entries refer to.
no setter
- headName → String?
-
The optional name of the classifier head, which is the corresponding
tensor metadata name.
no setter
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited