Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Background Removal

Removes backgrounds from 2D images to create transparent PNGs for 3D reconstruction.

Files

model.py

BiRefNet model wrapper for background matting.

remove_bg.py

Batch background removal.

Output: {original/edited}_2d/{uid}.png

Usage

python3 birefnet/remove_bg.py <image_dir>