搜尋套件、儲存庫與 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.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。