Real-Time High-Resolution Background Matting Thursday, Dec 17, 2020


Real-Time High-Resolution Background Matting


Official repository for the paper Real-Time High-Resolution Background Matting. Our model requires capturing an additional background image and produces state-of-the-art matting results at 4K 30fps and HD 60fps on an Nvidia RTX 2080 TI GPU.





Model / Weights

Video / Image Examples


  • VideoMatte240K (Coming soon)
  • PhotoMatte85 (Coming soon)




We provide several scripts in this repo for you to experiment with our model. More detailed instructions are included in the files.

  • Perform matting on a directory of images.
  • Perform matting on a video.
  • An interactive matting demo using your webcam.


Additionally, you can try our notebooks in Google Colab for performing matting on images and videos.

Web Demo

Developers in the community has helped us build a web demo. See Community Projects section below.


Usage / Documentation

You can run our model using PyTorch, TorchScript, TensorFlow, and ONNX. For detail about using our model, please check out the Usage / Documentation page.



Training code will be released upon acceptance of the paper.


Project members

* Equal contribution.



This work is licensed under the Creative Commons Attribution NonCommercial ShareAlike 4.0 License.


Community Projects

A list of projects built by third-party developers in the community. If you have a project to share, contact us!

Unauthorized reproduction of this site is prohibited, and offenders will be held accountable for their legal responsibilities.
Article Title: Real-Time High-Resolution Background Matting
This article URL:Real-Time High-Resolution Background Matting

All Categories

Github Trending Repositories

Explore Github Trending Repositories. See what the GitHub community is most excited about today.

Copyright 2010 - 2020