# peterl1n/robustvideomatting

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/peterl1n-robustvideomatting).**

9,244 stars · 1,192 forks · Python · gpl-3.0

## Links

- GitHub: https://github.com/PeterL1n/RobustVideoMatting
- Homepage: https://peterl1n.github.io/RobustVideoMatting/
- awesome-repositories: https://awesome-repositories.com/repository/peterl1n-robustvideomatting.md

## Topics

`ai` `computer-vision` `deep-learning` `machine-learning` `matting`

## Description

RobustVideoMatting is a deep learning video matting tool and PyTorch library designed to remove backgrounds from videos and extract human subjects. It utilizes a temporal video segmentation model to ensure consistent matting and reduce flickering across video frames.

The project includes a cross-platform model exporter that converts trained neural networks into various runtime formats. This allows for model deployment across multiple environments, including web and mobile applications.

The framework provides capabilities for temporal video background removal and AI video post-production without the use of green screens. It supports video file conversion and the processing of image sequences to create transparent backgrounds for compositing.

## Tags

### Graphics & Multimedia

- [Temporal Video Background Removal](https://awesome-repositories.com/f/graphics-multimedia/temporal-video-background-removal.md) — Extracts human subjects from video frames using temporal memory to ensure consistent, flicker-free matting. ([source](https://cdn.jsdelivr.net/gh/peterl1n/robustvideomatting@master/README.md))
- [Deep Learning Video Matting Tools](https://awesome-repositories.com/f/graphics-multimedia/deep-learning-video-matting-tools.md) — Provides a deep learning framework for removing backgrounds from videos and extracting human subjects.
- [Sequential Frame Processing](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/video-processing-tools/video-frame-navigators/array-based-frame-processing/sequential-frame-processing.md) — Processes sequential video frames while maintaining state to ensure temporal consistency across the video.
- [Semantic Video Segmentations](https://awesome-repositories.com/f/graphics-multimedia/semantic-video-segmentations.md) — Employs a temporal segmentation model with memory buffers to achieve smooth, flicker-free background removal.
- [AI Foreground Isolation](https://awesome-repositories.com/f/graphics-multimedia/video-post-production-effects/ai-foreground-isolation.md) — Automates the isolation of foreground subjects in video files without requiring a green screen.
- [Video File Processors](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/media-processing/video-analysis-processing/video-file-processors.md) — Converts input videos and image sequences into background-removed outputs. ([source](https://cdn.jsdelivr.net/gh/peterl1n/robustvideomatting@master/README.md))

### Artificial Intelligence & ML

- [Memory Bank Architectures](https://awesome-repositories.com/f/artificial-intelligence-ml/memory-bank-architectures.md) — Uses a memory bank to store spatial-temporal features for consistent background removal across frames.
- [PyTorch Semantic Segmentation Libraries](https://awesome-repositories.com/f/artificial-intelligence-ml/pytorch-semantic-segmentation-libraries.md) — Implements a PyTorch-based library for pixel-level video segmentation and background matting.
- [Temporal Video Matting](https://awesome-repositories.com/f/artificial-intelligence-ml/temporal-video-matting.md) — Removes backgrounds from video sequences while maintaining consistency and reducing flickering across frames.
- [Model Exporters](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/serialization-and-export-formats/model-exporters.md) — Provides utilities to convert trained PyTorch weights into standardized formats for cross-platform inference.
- [Model Export Formats](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-optimization-and-inference/serving-and-runtime/inference-optimization-utilities/model-export-formats.md) — Converts trained networks into various runtime formats to ensure compatibility across deployment environments. ([source](https://peterl1n.github.io/RobustVideoMatting/))
- [Model Deployment](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-training-and-tuning/fine-tuning-and-customization/model-fine-tuning/pre-trained-model-zoos/model-deployment.md) — Converts trained matting networks into runtime formats for production inference in web or mobile apps.
- [Cross-Framework Deployments](https://awesome-repositories.com/f/artificial-intelligence-ml/model-deployment-frameworks/cross-framework-deployments.md) — Supports executing matting models across multiple runtime environments for web and mobile applications. ([source](https://cdn.jsdelivr.net/gh/peterl1n/robustvideomatting@master/README.md))

### DevOps & Infrastructure

- [Background Removal Tools](https://awesome-repositories.com/f/devops-infrastructure/background-processing/background-removal-tools.md) — Extracts human subjects from video frames to create transparent backgrounds for compositing.
