Overview
The body_detection package is a Flutter plugin leveraging MLKit on Android and iOS to enable real-time body pose estimation and selfie segmentation. It supports both static image analysis and live camera streams, using Pose Detection and Selfie Segmentation APIs. Ideal for fitness, augmented reality, and interactive applications requiring accurate body tracking. The plugin integrates seamlessly with Flutter projects via a simple pub add command and provides access to detailed body landmarks and segmentation masks.
Use cases
- Fitness and exercise tracking
- Augmented reality experiences
- Interactive art applications
- Body posture analysis
- Real-time avatar animation
Key features
- Real-time body pose detection
- Selfie segmentation for background removal
- Support for static images and live camera
- Cross-platform Android and iOS compatibility
- Integration with MLKit's advanced computer vision APIs
Suitable for
- Developers building fitness apps
- AR/VR application creators
- Interactive media projects
- Computer vision experiments
- Apps requiring body landmark data
Considerations
- Requires device with sufficient processing power
- Camera permissions must be handled in app
- Performance may vary on older devices
- Limited to Android and iOS platforms
- Depends on MLKit which requires internet for model downloads
