The background_remover package is the first Flutter plugin designed for easy integration of background removal functionality into Flutter applications. This package provides a straightforward way to pick images from the gallery and process them to remove their background.
Features
Image picking from gallery
Background removal from images
Display of images with and without background
Getting Started
To use the background_remover package, follow these steps:
Here is a basic example of how to use the background_remover package in a Flutter application:
Uint8List imageBytes = your image as byte;
removeBackground(imageBytes: imageBytes).then((Uint8List backgroundRemoveBytes) {
// then do whatever you want with byte of images such as display it in image.memory()..
});
removeBackground() is the method that handles the background removal process.
Contributing
Contributions to the background_remover package are welcome. Please feel free to fork the repository, make changes, and create a pull request to upgrade it.
This README provides a basic introduction to the background_remover package. It assumes the reader has a fundamental understanding of Flutter and Dart.