An open-source background remover that runs entirely in the browser, producing transparent PNGs without uploading images.
danielgatis/rembg
A tool that removes image backgrounds, usable as a CLI, Python library, HTTP server, or Docker container.
대체할 수 있는 제품:Remove.bg
Adobe Photoshop
- 스타
- 25,127
- 포크
- 2,442
- 열린 이슈
- 2
- 마지막 커밋
- 9일 전
어떤 프로젝트인가요?
Rembg removes the background from images, leaving the subject as a transparent cutout. It runs local ONNX segmentation models such as U2Net, ISNet, SAM and several BiRefNet variants, which are downloaded automatically on first use. Cloud backends (withoutBG and Atlas Cloud) are also available through the same interface.
The same functionality is exposed in four ways: a `rembg` CLI for single files, folders and FFmpeg RGB24 streams; a Python `remove()` function accepting bytes, PIL images or NumPy arrays; an HTTP server with an API and Gradio UI; and a Docker image with CPU or NVIDIA CUDA builds. CPU, NVIDIA GPU and AMD ROCm backends are selected at install time through onnxruntime variants.
For soft edges such as hair or fur, the project offers color decontamination (`-dc`), alpha matting (`-a`) and ViTMatte (`-vm`) as alternative refinement modes.
핵심 기능
- 01Runs local ONNX models including U2Net, ISNet, SAM and BiRefNet variants.
- 02Offers CLI, Python library, HTTP server and Docker usage.
- 03Supports batch folder processing and a watch mode.
- 04Includes color decontamination and alpha matting for soft edges.
- 05Accepts input as bytes, PIL images or NumPy arrays.
- 06Provides optional cloud backends via withoutBG and Atlas Cloud.
활용 사례
- Batch removing backgrounds from product photos for e-commerce listings.
- Adding a background-removal endpoint to a web service via the HTTP server.
- Extracting subjects from video frames by piping FFmpeg output into rembg.
- Creating transparent portraits with the portrait or human segmentation models.
토픽
자주 묻는 질문
- rembg은(는) 무엇인가요?
- A tool that removes image backgrounds, usable as a CLI, Python library, HTTP server, or Docker container. Rembg removes the background from images, leaving the subject as a transparent cutout. It runs local ONNX segmentation models such as U2Net, ISNet, SAM and several BiRefNet variants, which are downloaded automatically on first use. Cloud backends (withoutBG and Atlas Cloud) are also available through the same interface.
- rembg은(는) 무료로 사용할 수 있나요? 라이선스는 무엇인가요?
- rembg은(는) MIT 라이선스의 오픈소스입니다. 상업용 제품에 사용하기 전에 라이선스 조건을 확인하세요.
- rembg은(는) 아직 유지보수되고 있나요?
- 활발히 유지보수 중. rembg의 마지막 커밋은 2026년 10월 10일입니다.
- rembg은(는) 어디에 사용할 수 있나요?
- Batch removing backgrounds from product photos for e-commerce listings. Adding a background-removal endpoint to a web service via the HTTP server. Extracting subjects from video frames by piping FFmpeg output into rembg. Creating transparent portraits with the portrait or human segmentation models.
- rembg은(는) 어디서 받을 수 있나요?
- 소스 코드와 설치 방법은 GitHub에 있습니다: https://github.com/danielgatis/rembg
요약은 프로젝트 README를 바탕으로 AI가 작성했습니다. GitHub 통계는 매일 갱신됩니다.
관련 프로젝트
A Python CLI that turns a whiteboard-style image into a hand-drawn reveal video, CPU only, with optional narration pacing.
A toolkit that generates agent-native command-line interfaces for existing software, plus a CLI-Hub registry for installing ready-made ones.
A collection of 419 pre-trained AI models covering vision, speech, NLP, and LLMs, each runnable from a simple CLI with automatic weight download.
Open infrastructure for discovering, creating, evaluating, analyzing, and routing reusable AI agent skills, with a Python SDK and CLI.
Open-source self-improving AI agent for terminal and desktop that takes an outcome, works out the steps, and writes code as needed.