Rembg — удаление фона с изображений

★ 24.4K

rembg is a tool for automatically removing the background from images. Reach for it when you need to quickly cut out an object and get a transparent background: prep product photos for a marketplace, make avatars and stickers, or extract a person or item for design and collages — one file at a time or in batches. It works as a command-line utility, a Python library, and a local web service; under the hood are segmentation neural networks (the U^2-Net family and others), running on your own hardware with no data sent anywhere. It has modes for people, products, anime, and precise mask-based cutouts. Its focus is background removal and producing a mask/transparent PNG, not a full image editor or an image generator: one job done reliably and in bulk. It is handy to embed in your own image-processing pipelines; for bulk compression and conversion use separate utilities, and for generation, ComfyUI and the like.