Skip to content

edi194/BGR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BGR - Background removal tool

Features

  • Model selector (same as rembg)
  • Will automatically get every image in 'before_bgr' dir
  • All results are saved in a dir 'after_bgr'
  • Save output image with model name and current date and time
  • Will log everything after processing to log file
  • Uses Rembg

Usage

  1. Clone this repo
  2. Add the script at the desired folder
  3. Open terminal and navigate to that folder
  4. Run python main.py

Installation

git clone https://github.com/edi194/BGR.git

Go to the project directory

cd BGR

Requires OpenCV and Python.


pip install -r requirements.txt

Move the app at the desired location and run App

python main.py

Acknowledgements

Credits goes @danielgatis for making Rembg CLI tool and @beephole for original script

  pip install rembg # for library
  pip install rembg[cli] # for library + cli

About

Simple python script for bulk image background removal with different models. Based on rembg. Check readme for more info.

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%