搜索插件、代码仓与 APP 分类

插件详情v0.0.3

background_remover

移除自拍背景的 Flutter 包

Android
近 30 天下载
65
喜欢数
24
Pub 分数
145

安装插件

flutter pub add background_remover

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个专为去除自拍背景而设计的Flutter包,可实现干净的图像编辑。它利用高效的算法检测并分离主体,留下透明或可自定义的背景。适用于需要快速、在设备上进行图像处理且无需依赖外部API的应用程序。该包针对Android设备进行了优化,并可无缝集成到多媒体工作流程中。

适合场景

  • 自拍编辑应用
  • 社交媒体内容创作
  • 电子商务产品图片准备
  • 数字形象生成
  • 图像拼贴工具

主要特点

  • 设备端背景移除
  • 透明背景输出
  • Android 平台优化
  • 与 Flutter 的简单集成
  • 实时处理支持

适合对象

  • 移动应用开发者
  • 摄影爱好者
  • 内容创作者
  • 电商平台
  • UI/UX 设计师

使用建议

  • 仅限Android平台
  • 需要高质量的输入图像
  • 准确性可能因光照条件而异
  • 无网页或iOS支持
  • 取决于底层模型性能

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Background Remover

Before After

Overview

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:

Installation

Add background_remover to your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  background_remover: ^1.0.0
Import the Package

Import the package along with other required packages in your Dart file:

import 'package:background_remover/background_remover.dart';
Usage

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.

License

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.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。