FirebaseLabelerOption class

Options for ImageLabeler using a Firebase model.

Inheritance

Constructors

FirebaseLabelerOption({double confidenceThreshold = 0.5, required String modelName, int maxCount = 10})
Constructor to create an instance of FirebaseLabelerOption.

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.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
maxCount → int
Max number of results detector will return. Default value is set to 10.
final
modelName → String
Name of the firebase model.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → ImageLabelerType
Indicates that it uses a Firebase 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 FirebaseLabelerOption.
override
toString() → String
A string representation of this object.
inherited

Operators

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