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.
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.
- google_mlkit_commonsgoogle_mlkit_image_labeling depends on itCommon classes and utility methods for Google's ML Kit plugins
- google_mlkit_text_recognitionSame familyFlutter plugin to use Google's ML Kit Text Recognition on Android and iOS.
- google_mlkit_barcode_scanningSame familyA Flutter plugin to use Google's ML Kit Barcode Scanning on Android and iOS.
- google_mlkit_face_detectionSame familyFlutter plugin to use Google's ML Kit Face Detection on iOS and Android.
- google_mlkit_translationSame familyFlutter plugin for Google's ML Kit On-Device Translation.
- google_mlkit_selfie_segmentationSame familyFlutter plugin to use Google's ML Kit Selfie Segmentation API.
- google_mlkit_language_idSame familyDetermine the language of a text string using Google's ML Kit.
- google_mlkit_pose_detectionSame familyFlutter plugin for Google ML Kit Pose Detection on Android and iOS.