FLUTTER ECOSYSTEM

IIAmir/local_rembg

로컬 Rembg, 이미지에서 배경을 오프라인으로 제거하기 위한 Flutter 플러그인(안드로이드/IOS).

local_rembg 프로젝트 이미지
Stars
61
Forks
17
최근 푸시(UTC)
2024. 11. 1.
프로젝트 상태
활성
Amirreza Alizadeh GitHub avatar
GITHUB User

Amirreza Alizadeh ↗

Android And Flutter Developer

IR-MHD
언어SwiftKotlinDartRubyObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개
  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^3.0.0

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Local Background Remover (Android/IOS)

https://i.ibb.co/xhtjGsD/Luminosity.png

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: Remove backgrounds without internet for quick performance offline.
  • Object and Person Detection: Easily remove backgrounds from both objects and people.
  • Cross-Platform: Delete backgrounds on Android and iOS.

Getting started

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

If you only require person detection on iOS,consider using version 0.0.8 to reduce your app's size.

dependencies:
  local_rembg: ^1.1.3

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 ,
     imageUint8List: // Your image Uint8List ,
     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.