Skip to content

A simple tool to easily remove backgrounds from images using a pretrained model

License

Notifications You must be signed in to change notification settings

NeedToUpdate/Background-Remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

  1. (Optional) Create virtual env
    python -m venv .venv

and activate it based on your OS.

for windows:

    ./.venv/Scripts/activate.ps1

for linux:

    source ./.venv//bin/activate
  1. Install prerequisites
    pip install -r ./requirements.txt
  1. Add images into the /input folder
  2. Run bg_remover.py
 > python bg_remover.py
  1. Find images with backgrounds removed in the output folder

You can specify different input and output folders with the flags:

    python bg_remover.py --input-path ../path/to/input --output-path ./path/to/output

About

A simple tool to easily remove backgrounds from images using a pretrained model

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages