Skip to content
pubscout

google_mlkit_image_labeling

1.0.3, released 8 days ago by flutter-ml.dev

Flutter plugin to use Google's ML Kit Image Labeling on Android and iOS.

$ flutter pub add google_mlkit_image_labeling
Source repository

What it does

Detects and extracts information about entities in images across a broad group of categories using Google's native ML Kit Image Labeling APIs. Supports base models, local custom TensorFlow Lite models, and Firebase-hosted remote models.

AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need on-device image labeling or object classification in a mobile app
  • You want to use custom TensorFlow Lite models or Firebase-hosted models for image labeling

Skip it when

  • You need web or desktop platform support
  • You require pure Dart or Flutter-only machine learning processing without native platform dependencies

Strengths

  • Leverages optimized native Google ML Kit APIs via platform channels
  • Supports local custom models and Firebase remote models

Weaknesses

  • Only supports Android and mobile iOS platforms (no web or desktop support)
  • Requires manual native configuration such as deployment target setup and resource bundles

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
1

Requires minimum iOS deployment target 15.0, Swift Package Manager setup, linking flags, ML Kit resource bundles, and configuring Android SDK compile and minimum versions.

final ImageLabelerOptions options = ImageLabelerOptions(confidenceThreshold: 0.5);
final imageLabeler = ImageLabeler(options: options);
final List<ImageLabel> labels = await imageLabeler.processImage(inputImage);
imageLabeler.close();

Works with

Packages commonly used together with google_mlkit_image_labeling: ones it builds on, ones built on it, and its own family.