LocalLabelerOptions class

Options for ImageLabeler using a custom local model.

Inheritance

Constructors

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

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
modelPath → String
Path where the local custom model is stored.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → ImageLabelerType
Indicates that it uses a custom local 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 LocalLabelerOptions.
override
toString() → String
A string representation of this object.
inherited

Operators

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