Phoca - Remove Image Background (AI) extension is an Inkscape extension to help you easily remove backgrounds from raster images (JPG, PNG, WEBP, ...) using AI and the Rembg library.

Phoca Inkscape Remove Image Background Menu

 

 

With Phoca - Inkscape Remove Image Background extension you can remove image background with help of different AI models. There are following options:

  • Model - select model
  • Post Process Mask - Yes | No
  • Alpha Matting - Yes | No
  • Alpha Matting Foreground Threshold - set value for Alpha matting foreground threshold (0 - 255)
  • Alpha Matting Background Threshold - set value for Alpha matting foreground threshold (0 - 255)
  • Alpha Matting Erode Size - set value for Alpha matting erode size (0 - 40)
  • Debug

 


Usage

  • Make sure you have your Rembg library environment set up correctly on your computer, see Be aware section below.
  • Select raster image, click on Raster - Remove Image Background. Set options and click on Apply button.
  • Then the selected image should have its background removed using AI.

Phoca Inkscape Remove Background Start

 

Phoca Inkscape Remove Background End

 

Be aware

  • This extensions requires Rembg and PIL libraries (and their dependencies) installed on your system, see: https://github.com/danielgatis/rembg
  • This extension is for experienced users who have set up and tested the Rembg - a Python library on their computer.
  • Removing image backgrounds using AI models can be a very challenging process. Therefore, it is a good idea to have your environment set up correctly and try first to remove the background of an image using the Rembg library directly in the console

 

How to install this extension

Just follow Inkscape guides for installing Inkscape extensions (download the ZIP package and unzip it to Inkscape extension folder and restart Inkscape)

This extension needs the Python libraries Rembg and PIL and many of their other dependencies to run properly. So before using this extension, you need to install this complete environment using Python.

 

100+
GitHub Projects
Arctic Code
Vault Contributor
12 Million+
Downloads
70 000+
Answered Questions
2 100+
Planted Trees