imageLabeler method

ImageLabeler imageLabeler([
  1. dynamic imageLabelerOptions
])

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

Implementation

ImageLabeler imageLabeler([dynamic imageLabelerOptions]) {
  return ImageLabeler._(imageLabelerOptions ?? ImageLabelerOptions());
}