imageLabeler method

ImageLabeler imageLabeler([
  1. ImageLabelerOptions? options
])

Creates an on device instance of ImageLabeler.

Implementation

ImageLabeler imageLabeler([ImageLabelerOptions? options]) {
  return ImageLabeler._(
    options: options ?? const ImageLabelerOptions(),
    modelType: ModelType.onDevice,
    handle: nextHandle++,
  );
}