- Clone the repository
git clone https://github.com/atikur-rabbi/flask-bgremove.git
- Rename
.env-example
to .env and modify the values as you like and keeping the same value for development is okay. - Install requirements of requirements.txt
- Run command
flask run
Code for Pytorch background removal taken from: https://github.com/spmallick/learnopencv/blob/master/app-seperation-semseg/Background-Removal.py