Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 681 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 681 Bytes

About

This project is mostly for learning dash/flask and mediapipe/opencv/paddleseg.

Segmentation and matting is done with PaddleSegMatting more specifically I used a PP-MattingV2 that is SOTA for image matting. The model is also lite and runs in about 0.5 seconds per photo with preprocessing on CPU.

The results are as good as most online background removers or changers.

Preview

Alt text

Run

git clone https://github.com/filnow/bg-changer.git
cd bg-changer
pip install -r requirements.txt
python3 app.py

TODO

  • add video support
  • make frontend kinda good