imageLabeler method

  1. @Deprecated('Use [google_mlkit_image_labeling] plugin instead of [google_ml_kit].')
ImageLabeler imageLabeler([
  1. ImageLabelerOptions? imageLabelerOptions
])

Get an instance of ImageLabeler by calling this function imageLabelerOptions if not provided it creates ImageLabeler with ImageLabelerOptions You can provide either LocalLabelerOptions to use a custom tflite model Or AutoMLImageLabelerOptions to use auto ml vision model trained by you

Implementation

@Deprecated(
    'Use [google_mlkit_image_labeling] plugin instead of [google_ml_kit].')
ImageLabeler imageLabeler([ImageLabelerOptions? imageLabelerOptions]) {
  return ImageLabeler(options: imageLabelerOptions ?? ImageLabelerOptions());
}