Ross ROSS = Recommend OSS · open-source software intelligence for agents

PeterL1n/BackgroundMattingV2

Real-Time High-Resolution Background Matting observed · 2026-08-28

github.com/PeterL1n/BackgroundMattingV2 · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2102
  • days_rel: n/a
  • days_push: 805
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

7189 stars · 959 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Official PyTorch implementation of the CVPR 2021 paper 'Real-Time High-Resolution Background Matting'. It produces state-of-the-art alpha mattes for humans at 4K 30fps / HD 60fps on an Nvidia GPU, given a pre-captured background image, and includes pretrained weights, datasets, and training scripts.

Use cases

  • remove video background without a green screen
  • real-time virtual background replacement for webcam
  • extract alpha matte of a person from a photo
  • segment human hair and fine details at 4K resolution
  • train a matting model on VideoMatte240K
  • benchmark matting inference speed on GPU

When to choose

  • you can capture a clean background plate of the scene
  • you need high-resolution (HD/4K) real-time matting on an Nvidia GPU
  • you want a research-grade model with pretrained weights and training code under MIT license

When to avoid

  • you cannot capture the background image beforehand - use Robust Video Matting instead
  • you need a turnkey production pipeline with hardware-accelerated video encoding out of the box
  • you have no CUDA-capable GPU

Facets

library · maturity stable

computer-vision image-processing video-processing machine-learning deep-learning computer-vision image-processing machine-learning deep-learning python cross-platform background-matting alpha-matting green-screen pytorch real-time cvpr-2021 video-matting pretrained-models video gpu linux

1 source

Member repositories

RepositoryRoleHealth v2
PeterL1n/BackgroundMattingV2main23

For agents

markdown · JSON · MCP: product_card(name="PeterL1n/BackgroundMattingV2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem