Automatically remove backgrounds. Uses an onnx model fine-tuned for anime images. Runs on GPU.
Go to file
Kutsuya Yuki - 久津屋 雪 eb3ff7610a
Merge pull request #23 from Murlors/fixed-install-check
fix: 🪲 unnecessary message when a module is already installed.
2023-05-01 23:25:47 +02:00
scripts Fixed an issue where the image had too many channels and failed to be loaded by PIL. 2023-04-18 10:57:30 -04:00
.gitignore Added custom background color 2023-03-26 22:48:31 +02:00
README.md Update README.md 2023-04-01 14:58:10 +02:00
install.py fixed install check dep name. 2023-04-23 20:06:28 +08:00

README.md

ABG extension

Installation

  1. Install extension by going to Extensions tab -> Install from URL -> Paste github URL and click Install.
  2. After it's installed, go back to the Installed tab in Extensions and press Apply and restart UI.
  3. Installation finished.
  4. If the script does not show up or work, please restart the WebUI.

Usage

txt2img

  1. In the bottom of the WebUI in Script, select ABG Remover.
  2. Select the desired options: Only save background free pictures or Do not auto save.
  3. Generate an image and you will see the result in the output area.

img2img

  1. In the bottom of the WebUI in Script, select ABG Remover.
  2. Select the desired options: Only save background free pictures or Do not auto save.
  3. IMPORTANT: Set Denoising strength to a low value, like 0.01

Based on https://huggingface.co/spaces/skytnt/anime-remove-background