All Projects → PeterL1n → Backgroundmattingv2

PeterL1n / Backgroundmattingv2

Licence: mit
Real-Time High-Resolution Background Matting

Programming Languages

python
139335 projects - #7 most used programming language
matlab
3953 projects

Projects that are alternatives of or similar to Backgroundmattingv2

TOM-Net
TOM-Net: Learning Transparent Object Matting from a Single Image (CVPR 2018)
Stars: ✭ 74 (-98.56%)
Mutual labels:  matting
Drone Core
The core crate for Drone, an Embedded Operating System.
Stars: ✭ 263 (-94.9%)
Mutual labels:  real-time
Ws
Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
Stars: ✭ 17,419 (+237.9%)
Mutual labels:  real-time
instant-ngp
Instant neural graphics primitives: lightning fast NeRF and more
Stars: ✭ 1,863 (-63.86%)
Mutual labels:  real-time
Sorting visualization
The Sound of Sorting: Visualize and Audibilize 12 classic sorting algorithms in real time
Stars: ✭ 260 (-94.96%)
Mutual labels:  real-time
Skylinkjs
SkylinkJS Javascript WebRTC SDK
Stars: ✭ 269 (-94.78%)
Mutual labels:  real-time
realtime-facereccpp
Real time face recognition with tracking (mtcnn detection, kcf tracker, arcface loss)
Stars: ✭ 32 (-99.38%)
Mutual labels:  real-time
Fastmot
High-performance multiple object tracking based on YOLO, Deep SORT, and optical flow
Stars: ✭ 284 (-94.49%)
Mutual labels:  real-time
Lightweight Segmentation
Lightweight models for real-time semantic segmentation(include mobilenetv1-v3, shufflenetv1-v2, igcv3, efficientnet).
Stars: ✭ 261 (-94.94%)
Mutual labels:  real-time
Workbase Server
Slack alternative, email integrated, build with Meteor
Stars: ✭ 284 (-94.49%)
Mutual labels:  real-time
3dio Js
JavaScript toolkit for interior apps
Stars: ✭ 255 (-95.05%)
Mutual labels:  real-time
Megaglest Source
MegaGlest real-time strategy game engine (cross-platform, 3-d)
Stars: ✭ 259 (-94.98%)
Mutual labels:  real-time
Android Ddp
[UNMAINTAINED] Meteor's Distributed Data Protocol (DDP) for clients on Android
Stars: ✭ 271 (-94.74%)
Mutual labels:  real-time
whatsapp-clone
A full-stack real-time WhatsApp clone using reactjs and firebase
Stars: ✭ 61 (-98.82%)
Mutual labels:  real-time
Uc Os3
µC/OS-III is a preemptive, highly portable, and scalable real-time kernel. Designed for ease of use on a huge number of CPU architectures.
Stars: ✭ 284 (-94.49%)
Mutual labels:  real-time
twitter-api
Django Rest framework Real Time Twitter API . Fully functional twitter app with websocket api to notify and send chat in real time using django channels.
Stars: ✭ 30 (-99.42%)
Mutual labels:  real-time
Reactor
Phoenix LiveView but for Django
Stars: ✭ 258 (-95%)
Mutual labels:  real-time
Jeelizar
JavaScript object detection lightweight library for augmented reality (WebXR demos included). It uses convolutional neural networks running on the GPU with WebGL.
Stars: ✭ 296 (-94.26%)
Mutual labels:  real-time
Clearly
Clearly see and debug your celery cluster in real time!
Stars: ✭ 287 (-94.43%)
Mutual labels:  real-time
Realtime Action Detection
This repository host the code for real-time action detection paper
Stars: ✭ 271 (-94.74%)
Mutual labels:  real-time

Real-Time High-Resolution Background Matting

Teaser

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.

Disclaimer: The video conversion script in this repo is not meant be real-time. Our research's main contribution is the neural architecture for high resolution refinement and the new matting datasets. The inference_speed_test.py script allows you to measure the tensor throughput of our model, which should achieve real-time. The inference_video.py script allows you to test your video on our model, but the video encoding and decoding is done without hardware acceleration and parallization. For production use, you are expected to do additional engineering for hardware encoding/decoding and loading frames to GPU in parallel. For more architecture detail, please refer to our paper.

 

New Paper is Out!

Check out Robust Video Matting! Our new method does not require pre-captured backgrounds, and can inference at even faster speed!

 

Overview

 

Updates

  • [Jun 21 2021] Paper received CVPR 2021 Best Student Paper Honorable Mention.
  • [Apr 21 2021] VideoMatte240K dataset is now published.
  • [Mar 06 2021] Training script is published.
  • [Feb 28 2021] Paper is accepted to CVPR 2021.
  • [Jan 09 2021] PhotoMatte85 dataset is now published.
  • [Dec 21 2020] We updated our project to MIT License, which permits commercial use.

 

Download

Model / Weights

Video / Image Examples

Datasets

 

Demo

Scripts

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

  • inference_images.py: Perform matting on a directory of images.
  • inference_video.py: Perform matting on a video.
  • inference_webcam.py: An interactive matting demo using your webcam.

Notebooks

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

Virtual Camera

We provide a demo application that pipes webcam video through our model and outputs to a virtual camera. The script only works on Linux system and can be used in Zoom meetings. For more information, checkout:

 

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

Configure data_path.pth to point to your dataset. The original paper uses train_base.pth to train only the base model till convergence then use train_refine.pth to train the entire network end-to-end. More details are specified in the paper.

 

Project members

* Equal contribution.

 

License

This work is licensed under the MIT License. If you use our work in your project, we would love you to include an acknowledgement and fill out our survey.

Community Projects

Projects developed by third-party developers.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].