FLUTTER ECOSYSTEM

google_mlkit_selfie_segmentation

Flutter plugin to use Google's ML Kit Selfie Segmentation API to easily separate the background from users within a scene and focus on what matters.

Latest version
0.12.1
30-day downloads
14.7K
Likes
36
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter plugin that leverages Google's ML Kit Selfie Segmentation API to accurately distinguish a user from their background in real time. It enables developers to create immersive experiences by isolating the foreground person, ideal for virtual backgrounds, photo editing, and interactive apps. The plugin supports both Android and iOS platforms with seamless integration via Flutter. It runs efficiently on-device, ensuring privacy and low latency. Designed for simplicity, it requires minimal setup to implement advanced segmentation features.

Use cases
  • Real-time background replacement
  • Enhanced video conferencing
  • Interactive photo filters
  • Augmented reality applications
  • User-focused image editing
Key features
  • On-device inference
  • Real-time segmentation
  • Simple API integration
  • Cross-platform support (Android & iOS)
  • Privacy-preserving processing
Suitable for
  • Developers building AR/VR apps
  • Video conferencing app creators
  • Photo editing tool builders
  • Apps requiring foreground isolation
Considerations
  • Requires camera access permission
  • Performance varies on older devices
  • Limited to selfie-style front-facing scenes
  • No support for multiple people segmentation
  • Depends on Google ML Kit backend
Supported platformsAndroidiOS

Install package

flutter pub add google_mlkit_selfie_segmentation

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects

No data available yet.