BEN3: open-source background removal model for images and video
Prama LLC has published the BEN3 (Background Erase Network) model on HuggingFace for the image-segmentation task. The model is designed to remove backgrounds in images and video, supports batch processing, transparent video output and background replacement. Details are on the model page.
What it means
The open version of BEN3 weighs 0.4 GB — it is a single weights file, ben3.pth, in PyTorch format. The license is MIT, meaning the model can be used in commercial projects. It runs via PyTorch, and the code is released as open source.
The author splits the model into two versions: the open one in this repository and a full commercial one with a proprietary fusion network module. The open version contains a multi-hypothesis generator, but without the hypothesis fusion network, which, as described, is responsible for improved quality of edges and fine details. The developer does not specify VRAM requirements.
For local runs the model is light enough, but keep in mind that the open version is a stripped-down variant without the final processing stage. You can follow the release of new models for working with images and video in the CPU3D news feed.How the method works. The diagram was drawn for this news note.