Simple web app with simple frontend to easily remove background from images by dragging onto webpage.
Instructions on how to run this project
There is a docker image available on ghcr.io: ghcr.io/emmaboecker/rmbg-server:main
docker-compose.yml:
version: '3.8'
services:
rmbg-server:
image: "ghcr.io/emmaboecker/rmbg-server:main"
ports:
- "3000:3000"
There is a Dockerfile available, which can be used, for building it yourself you need the model laying in the same directory when building
Even though this is my personal recommendation and I would like to use it myself, the current version of libonnxruntime in nixpkgs is too old and will not work with this project without a big hastle, so currently you should use docker :(
Idea from Fireship on YouTube, originally in python, recreated in rust.