manu12121999 / RemoveBG-GIMP

A small GIMP plugin to easily remove the Background of an Image with remove.bg. Keeps the image size and the original Image
146 stars 21 forks source link
background gimp remove remove-image-background removebg-gimp

RemoveBG-GIMP

This plugin automatically removes the image background using https://www.remove.bg/. The website uses neuronal networks to distinguish the foreground from the background. After that, a layer mask is applied to the image, which can be edited to improve the cut-out, if needed.

Usage

  1. Install the plugin as shown in the installation section
  2. Filters → removebackground
  3. Insert your RemoveBG API Key, which you can get from https://www.remove.bg/api 1

2

3

Installation

Windows:

  1. Put the remove_background.py file in your plugins directory:
  1. restart GIMP

Linux:

  1. Search your plugins directory. The directory might be at:

    ~/.gimp-2.10/plug-ins/

    ~/.config/GIMP/2.10/plug-ins

    or /usr/lib/gimp/2.0/plug-ins

  2. Put _removebackground.py in this directory and make it executable with chmod +x remove_background.py

  3. Make sure you have installed python support for gimp. (gimp-python package for ubuntu or python2-gimp from the AUR)

Problems:

Notes:

Licence:

It is not an official remove.bg plugin, so keep their Terms of Service in mind (https://www.remove.bg/tos)

Besides that, you can do whatever you want with my code!