ImageLabeler class

Detector that detects the labels present in the InputImage provided Labels implies the objects,places,people etc.. that were recognised on the image For every entity detected it returns an ImageLabel that contains the confidence level of the entity and the index of the label. By default it uses google's base model that identifies around 400+ entities https://developers.google.com/ml-kit/vision/image-labeling/label-map

It also supports usage custom tflite models and auto ml vision models

Creating an instance of Image Labeler

ImageLabeler imageLabeler = GoogleMlKit.instance.imageLabeler(options); The parameter options is optional,it maybe ImageLabelerOptions,CustomImageLabelerOptions,[AutoMlImageLabelerOptions

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processImage(InputImage inputImage) Future<List<ImageLabel>>
Function that takes InputImage processes it and returns a List of ImageLabel
toString() String
A string representation of this object.
inherited

Operators

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