Skip to content

moiling/PortraitMatting-DEMO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PortraitMatting (Demo)

Note: This application is not allowed for commercial use.

Creative Commons License
This work by moiling is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Image Matte Composition

Model

  1. Download model from the Google Drive.
  2. Put the model file in the ckpt folder. Do not rename the model file.

Requirements

Install packages from requirements file.

pip install -r requirements.txt

Demo

Just run demo.py.

python demo.py

If you don't have a GPU, you need to change Matting(gpu=True) in the demo.py to Matting(gpu=False) first.

About

Demo of Portrait Matting Algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages