#02

Posted on Jan 9, 2024

There is tool named bgrem for using image models to remove backgrounds

pipenv shell
pipenv install bgrem[cli]
bgrem i file.jpg output-file.jpg

i argument for specifing input file

s argument runs a server and web-ui on port 5000 to use models.

First usage of model requires download. So it will take a little bit time to complete at first run of model.