A right click menu entry to use rembg to remove image's background in Kde Dolphin file manager
rembg.mp4
First install rembg[cli]
from https://github.com/danielgatis/rembg
Make the script file executable and move it to ~/.local/bin
or /usr/local/bin
.
chmod +x ./rembg_script.sh
cp ./rembg_script.sh /usr/local/bin/rembg_script.sh
Move the desktop file to ~/.local/share/kservices5/ServiceMenus/
mv ./rembg.desktop ~/.local/share/kservices5/ServiceMenus/
Login and logout to see the changes
This Project make use of Rembg for the awesome AI background remover,
and inspired by the Background-remover-for-nemo project.