google_mlkit_pose_detection
1.0.3, released 8 days ago by flutter-ml.dev
Flutter plugin for Google ML Kit Pose Detection on Android and iOS.
What it does
A Flutter plugin that uses Google's ML Kit Pose Detection to detect the pose of a subject's body in real time from a continuous video or static image. It acts as a bridge to native platform APIs via platform channels.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need real-time body pose detection in a mobile app.
- You want to leverage Google's on-device ML Kit pose detection capabilities.
Skip it when
- You need web or desktop platform support.
- You want a pure Dart implementation without native platform dependencies.
Strengths
- Uses Google's native ML Kit for performance.
- Supports both stream and single image detection modes.
Weaknesses
- Limited to mobile platforms (Android and iOS).
- Running pose detection inference on iOS simulator requires a physical device due to GPU/Metal requirements.
Setup
- Kind
- Plugin (native code)
- Effort
- High
- Code generation
- No
- Direct dependencies
- 1
Requires minimum iOS deployment target of 15.0, Xcode 15.3.0+, Swift 5.9, adding linker flags (-ObjC, -all_load), downloading and adding ML Kit resource bundles to Xcode Runner target, and setting Android minSdkVersion 21 and compileSdkVersion 36.
final options = PoseDetectorOptions(
mode: PoseDetectionMode.stream,
model: PoseDetectionModel.base,
);
final poseDetector = PoseDetector(options: options);
final List<Pose> poses = await poseDetector.processImage(inputImage);
poseDetector.close();Alternatives
Packages that do the same job and could replace google_mlkit_pose_detection.
- gemini_live
A Flutter package for the Gemini Live API, enabling real-time, multimodal conversations with Google's Gemini models.
71Compare - hand_landmarker
Real-time hand landmark detection on Android using Google MediaPipe and JNI.
54Compare
Works with
Packages commonly used together with google_mlkit_pose_detection: ones it builds on, ones built on it, and its own family.
- google_mlkit_commonsgoogle_mlkit_pose_detection 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_document_scannerSame familyFlutter plugin to use Google's ML Kit document scanner API to digitize physical documents.