foamliu/Deep-Image-Matting
foamliu/Deep-Image-Matting has 990 GitHub stars and 259 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-11 18:55 UTC. Last push 2019-08-20.
Deep Image Matting
Measured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalJust in case you are interested, Deep Image Matting v2 is an upgraded version of this.
Deep Image Matting
This repository is to reproduce Deep Image Matting.
Dependencies
Dataset
Adobe Deep Image Matting Dataset
Follow the instruction to contact author for the dataset.
MSCOCO
Go to MSCOCO to download:
PASCAL VOC
Go to PASCAL VOC to download:
- VOC challenge 2008 training/validation data
- The test data for the VOC2008 challenge
ImageNet Pretrained Models
Download VGG16 into "models" folder.
Usage
Data Pre-processing
Extract training images:
$ python pre_process.py
Train
$ python train.py
If you want to visualize during training, run in your terminal:
$ tensorboard --logdir path_to_current_dir/logs
Demo
Download pre-trained Deep Image Matting Model to "models" folder then run:
$ python demo.py
| Image/Trimap | Output/GT | New BG/Compose |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Explore related projects
tensorflow/tensorflow
An Open Source Machine Learning Framework for Everyone
201,505 starshuggingface/transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
168,815 starsAUTOMATIC1111/stable-diffusion-webui
Stable Diffusion web UI
165,289 starsComfy-Org/ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
146,271 stars


























































