BaseCategory class abstract
Dart representation of MediaPipe's "Category" concept.
Category is a util class that contains a categoryName, its displayName, a float value as score, and the index of the label in the corresponding label file. It is typically used as result of classification or detection tasks.
See more:
Constructors
Properties
- categoryName → String?
-
The label of this category object.
no setter
- displayName → String?
-
The display name of the label, which may be translated for different locales.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
The index of the label in the corresponding label file.
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
- score → double
-
The probability score of this label category.
no setter
- 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