BaseClassifierOptions class abstract
Dart representation of MediaPipe's "ClassifierOptions" concept.
Classifier options shared across MediaPipe classification tasks.
See also:
- MediaPipe's ClassifierOptions documentation
- BaseOptions, which is often used in conjunction to specify a classifier's desired behavior.
- Inheritance
-
- Object
- BaseInnerTaskOptions
- BaseClassifierOptions
- Implementers
Constructors
- BaseClassifierOptions()
-
Dart representation of MediaPipe's "ClassifierOptions" concept.
const
Properties
-
categoryAllowlist
→ List<
String> ? -
Allowlist of category names.
no setter
-
categoryDenylist
→ List<
String> ? -
Denylist of category names.
no setter
- displayNamesLocale → String?
-
The locale to use for display names specified through the TFLite Model
Metadata.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxResults → int?
-
The maximum number of top-scored classification results to return.
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
- scoreThreshold → double?
-
If set, establishes a minimum
score
and leads to the rejection of any categories with lowerscore
values.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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited