background_remover
सेल्फी के पृष्ठभूमि को हटाने वाला फ्लटर पैकेज
Google ML Kit का उपयोग करके सेल्फी से पृष्ठभूमि हटाने वाला पहला Flutter पैकेज
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
| Before | After |
|---|---|
![]() |
![]() |
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.
To use the background_remover package, follow these steps:
Add background_remover to your pubspec.yaml file:
dependencies:
flutter:
sdk: flutter
background_remover: ^1.0.0
Import the package along with other required packages in your Dart file:
import 'package:background_remover/background_remover.dart';
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.
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 package is licensed under the Apache License.
This README provides a basic introduction to the background_remover package. It assumes the reader has a fundamental understanding of Flutter and Dart.
निर्भरता सूची 3 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗