ImageLabelerOptions class
Base options for ImageLabeler.
- Implementers
Constructors
- ImageLabelerOptions({double confidenceThreshold = 0.5})
- Constructor to create an instance of ImageLabelerOptions.
Properties
- confidenceThreshold → double
-
The confidence threshold for labels returned by the image labeler.
Labels returned by the image labeler will have a confidence level higher or equal to the given threshold.
The value must be a floating-point value in the range
0, 1
. Default value is set 0.5.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ImageLabelerType
-
Indicates that it uses Google's base model to process images.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a json representation of an instance of ImageLabelerOptions.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited