← all repositories
MarcoForte/FBA_Matting

Image matting with an 11GB GPU appetite and a triple output

This project argues that image matting should estimate foreground, background, and alpha together rather than treating the alpha matte as the sole objective.

502 stars Jupyter Notebook Computer VisionML Frameworks
FBA_Matting
Not currently ranked — collecting fresh signals.
star history

What it does FBA Matting is the reference implementation of a deep learning model that takes an image and a trimap, then estimates the foreground, background, and alpha matte together. It is the official code for the 2020 paper by Forte and Pitié, though the authors warn the project is under heavy revision for peer review. Only inference code is available; the training pipeline remains private until potential paper acceptance.

The interesting bit While most matting research chases alpha accuracy alone, this work treats foreground and background prediction as first-class citizens. The authors found that computing foreground loss across the full image outperforms masking it to alpha-positive pixels, and that common gradient loss is actually dispensable.

Key highlights

  • Joint prediction of foreground, background, and alpha from a single pass
  • Requires at least 11 GB of GPU memory for inference above 1920×1080
  • Pretrained models are bound to noncommercial use by the Adobe dataset license
  • Ships with a demo script, Jupyter notebooks, and a TorchScript conversion example
  • Benchmarked on alphamatting.com and videomatting.com with published error metrics

Caveats

  • Training code is unreleased and contingent on paper acceptance
  • Pretrained weights carry Adobe’s noncommercial license restriction
  • High-resolution inference demands GPU memory that consumer cards often lack

Verdict A solid choice for researchers or practitioners who need strong matting results and can tolerate noncommercial weights. Avoid if you need training code or plan to run high-res inference on modest hardware.

Frequently asked

What is MarcoForte/FBA_Matting?
This project argues that image matting should estimate foreground, background, and alpha together rather than treating the alpha matte as the sole objective.
Is FBA_Matting open source?
Yes — MarcoForte/FBA_Matting is open source, released under the MIT license.
What language is FBA_Matting written in?
MarcoForte/FBA_Matting is primarily written in Jupyter Notebook.
How popular is FBA_Matting?
MarcoForte/FBA_Matting has 502 stars on GitHub.
Where can I find FBA_Matting?
MarcoForte/FBA_Matting is on GitHub at https://github.com/MarcoForte/FBA_Matting.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.