Giter Site home page Giter Site logo

iiamir / local_rembg Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 5.0 7.81 MB

Local Rembg, A Flutter plugin for offline background removal from images (Android/IOS).

Home Page: https://pub.dev/packages/local_rembg

License: Apache License 2.0

Kotlin 11.63% Dart 8.43% Ruby 2.87% Swift 77.03% Objective-C 0.05%
android dart flutter ios kotlin remove-background swift local-rembg

local_rembg's Introduction

Local Background Remover (Android/IOS)

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.0.0

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,
     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.

local_rembg's People

Contributors

iiamir avatar

Stargazers

kamal Yadav avatar Bahareh Keivani avatar LFT avatar  avatar  avatar Sapito Sucio avatar Arvin avatar Anjaneykumar avatar  avatar Yash Parikh avatar  avatar Alessandro Rossi avatar Amirhosein Rostami avatar Ali Ahadi avatar Zoha avatar MohammadAminZamani.afshar avatar

Watchers

 avatar

local_rembg's Issues

BG not remove on iOS Simulator

I running this feature on iOS simulator with 17.0 iOS version but it's not working...

I getting this error...
{message: Unable to process image, status: 0}

It's working fine on iOS real device.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.