#131131st of 135 in Image and videoFor image, video and design, image and design, video and animation
matanyone
Human video matting model that propagates a first-frame mask through the clip
- Stars
- 1.6k
- License
- custom license
- Last commit
- Mar 2026
- Last release
- Feb 2025
- Language
- Python
1,546 on 6 May 20261,647 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
MatAnyone (CVPR 2025) extracts alpha and foreground videos of a person from a video plus a first-frame segmentation mask, using memory propagation built on Cutie. It ships a CLI, a Hugging Face loader, a local Gradio demo with SAM-based click masks, and training and evaluation scripts, including the YouTubeMatte benchmark. The README points to a newer MatAnyone 2 repository.
Who it is for: Researchers and video editors who need person matting from video
Strengths
- Handles multiple targets by running a separate mask per person
- Includes training code, evaluation scripts and the YouTubeMatte benchmark
- Local Gradio demo with click-based masks, plus a hosted Hugging Face Space
- Weights load from Hugging Face or download automatically on first run
Weaknesses
- Needs a first-frame segmentation mask from an external tool such as SAM2
- License is NTU S-Lab License 1.0, which restricts redistribution and use
- README says it is superseded by MatAnyone 2
- Last release is v1.0.0 from February 2025; install uses Python 3.8
What it needs
- Needs Conda, Python 3.8, FFmpeg (Gradio demo), SAM / SAM2 (demo masks)
- Models: matanyone.pth (PyTorch), Hugging Face PeiqingYang/MatAnyone
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Image and video
See all 135| Rank | Project | Score |
|---|---|---|
| #129 | yolov5-deepsort-inferenceYOLOv5 detection plus DeepSort tracking for counting vehicles and pedestrians | 15 out of 100 |
| #130 | qwen-image-layeredDiffusion model that splits an image into editable RGBA layers | 11 out of 100 |
| #132 | mimicmotionPose-guided human motion video generation from one reference image | 10 out of 100 |
| #133 | recammasterRe-renders a video along a new camera path using Wan2.1 | 6 out of 100 |
| #134 | viewcrafterVideo-diffusion novel view synthesis from one or a few images with camera control | 5 out of 100 |