local_rembg
1.1.3, released 2 years ago by an unverified publisher
Offline background removal for images on Android and iOS.
What it does
A Flutter plugin that performs offline background removal and object/person detection on images. It supports both image paths and Uint8List inputs across Android and iOS platforms.
AI-written summary of version 1.1.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to remove image backgrounds offline without using an external API.
- You are building a photo editing app for Android and iOS.
- You need object and person detection for background segmentation.
Skip it when
- You need background removal on platforms other than Android and iOS.
- You require web or desktop support.
Strengths
- Works completely offline without internet connection.
- Supports both Android and iOS platforms.
- Handles both person and object detection.
Weaknesses
- Limited platform support (only Android and iOS).
- No web or desktop support documented.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires iOS 15+ and Android 4.4+ (SDK 19). Add the dependency to pubspec.yaml.
Future<LocalRembgResultModel> removeBackground() async {
LocalRembgResultModel localRembgResultModel = await LocalRembg.removeBackground(
imagePath: 'Your Image Path',
imageUint8List: null,
cropTheImage: true,
);
return localRembgResultModel;
}Alternatives
Packages that do the same job and could replace local_rembg.
- image_cropper
A Flutter plugin for Android, iOS and Web supports cropping images
88Compare - pro_image_editor
A Flutter image editor: Seamlessly enhance your images with user-friendly editing features.
92Compare - fc_native_image_resize
A Flutter plugin to resize images via native APIs.
69Compare - add_to_gallery
Saves copies of images and videos to the Android Gallery and iOS Photos library.
69Compare
Works with
Packages commonly used together with local_rembg: ones it builds on, ones built on it, and its own family.