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

ZHKKKe/MODNet

A Trimap-Free Portrait Matting Solution in Real Time [AAAI 2022] observed · 2026-08-28

github.com/ZHKKKe/MODNet · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

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

  • gap_med: n/a
  • age_days: 2109
  • days_rel: n/a
  • days_push: 849
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4355 stars · 679 forks observed · 2026-08-28

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

MODNet is a deep learning model for real-time portrait matting (background removal) that requires only an RGB image as input, with no trimap needed. It was published at AAAI 2022 and includes demos for portrait image and video matting.

Use cases

  • remove background from portrait photos
  • real-time portrait video matting from webcam
  • extract alpha matte from a person in an image
  • blur or replace video call background
  • green screen replacement without a green screen
  • segment people from photos for compositing

When to choose

  • you need fast, real-time person segmentation from plain RGB images or video
  • you want trimap-free portrait matting without manual annotation
  • you need a lightweight model that runs on common PCs or mobile devices

When to avoid

  • you need general object segmentation beyond human portraits
  • you need pixel-perfect hair and edge detail on complex backgrounds
  • you need an actively developed project with frequent updates

Facets

library · maturity maintenance

image-processing computer-vision machine-learning deep-learning computer-vision image-processing machine-learning deep-learning python cross-platform portrait-matting background-removal alpha-matting real-time segmentation green-screen video-matting linux

1 source

Member repositories

RepositoryRoleHealth v2
ZHKKKe/MODNetmain32

For agents

markdown · JSON · MCP: product_card(name="ZHKKKe/MODNet")

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