{"repo":"danielgatis/rembg","free":true,"listed":false,"github":"https://github.com/danielgatis/rembg","clone":"git clone https://github.com/danielgatis/rembg.git","description":"Rembg is a tool to remove images background","language":"Python","stars":24300,"topics":["image-processing","background-removal","python"],"license":"MIT","category":"media-processing","readme_excerpt":"Rembg is a tool to remove image backgrounds. It can be used as a CLI, Python library, HTTP server, or Docker container. Sponsors PhotoRoom Remove Background API https://photoroom.com/api Fast and accurate background remover API If this project has helped you, please consider making a donation. Requirements Installation Choose one of the following backends based on your hardware: CPU support GPU support (NVIDIA/CUDA) First, check if your system supports onnxruntime-gpu by visiting onnxruntime.ai and reviewing the installation matrix. If your system is compatible, run: Note: NVIDIA GPUs may require onnxruntime-gpu , CUDA, and cudnn-devel . See #668 for details. If rembg[gpu] doesn't work and you can't install CUDA or cudnn-devel , use rembg[cpu] with onnxruntime instead. GPU support (AMD/ROCm) ROCm support requires the onnxruntime-rocm package. Install it by following AMD's documentation. Once onnxruntime-rocm is installed and working, install rembg with ROCm support: Usage as a CLI After installation, you can use rembg by typing rembg in your terminal. The rembg command has these subcommands: - i - single files - p - folders (batch processing) - s - HTTP server - b - RGB24 pixel binary stream - d - download models ahead of time - m - migrate models from the legacy /.u2net directory You can get help about the main command using: You can also get help for any subcommand: rembg i Used for processing single files. Remove background from a remote image: Remove background from a loc","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielgatis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielgatis/rembg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}