local_rembg 0.0.7 copy "local_rembg: ^0.0.7" to clipboard
local_rembg: ^0.0.7 copied to clipboard

A Flutter plugin for offline background removal in images, ideal for enhancing photo editing capabilities within mobile apps.

Local Background Remover (Android/IOS) #

Overview #

The Background Removal Library is a powerful tool designed to seamlessly remove backgrounds from images in both Android and iOS platforms.This library provides developers with an easy-to-use interface to integrate background removal functionality into their mobile applications, enhancing user experience and enabling a wide range of creative possibilities.

System requirements #

  • iOS: 15
  • Android: 4.4 (SDK 19)

Features #

  • Offline Support: Perform background removal tasks without internet, ensuring fast performance in offline mode.
  • Cross-Platform: Remove backgrounds from images on both Android and iOS platforms.

Getting started #

Add the plugin package to the pubspec.yaml file in your project:

dependencies:
  local_rembg: ^0.0.7

Install the new dependency:

flutter pub get

Call the removeBackground function in your code:

Future<LocalRembgResultModel> removeBackground() async {
  LocalRembgResultModel localRembgResultModel = await LocalRembg.removeBackground(
     imagePath: // Your Image Path,
     cropTheImage: // Crop the segmented image (Default true)
  );
  return localRembgResultModel;
}

Example #

Explore our Example Project to see how the Local Rembg SDK can be used in a Flutter application.

License Terms #

This library is provided under the Apache License.

18
likes
0
pub points
77%
popularity

Publisher

unverified uploader

A Flutter plugin for offline background removal in images, ideal for enhancing photo editing capabilities within mobile apps.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on local_rembg