--- license: mit library_name: diffusers pipeline_tag: image-segmentation tags: - background-removal - image-matting - ben2 base_model: PramaLLC/BEN2 --- # BEN2 (diffusers layout) [BEN2](https://huggingface.co/PramaLLC/BEN2) (Background Erase Network 2) by Prama LLC removes the background of an image: it predicts a soft alpha matte that keeps hair and fine edges. These are the weights of the open-source BEN2 Base model in the diffusers layout. They need the custom blocks to run: [OzzyGT/ben2_custom_blocks](https://huggingface.co/OzzyGT/ben2_custom_blocks). ## License MIT, as the original (see [LICENSE](https://huggingface.co/OzzyGT/ben2_diffusers/blob/main/LICENSE)). ## Citation ```bibtex @misc{meyer2025benusingconfidenceguidedmatting, title={BEN: Using Confidence-Guided Matting for Dichotomous Image Segmentation}, author={Maxwell Meyer and Jack Spruyt}, year={2025}, eprint={2501.06230}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2501.06230}, } ```