AI-powered background removal tool with auto-installing dependencies and vendored rembg
Project description
Remove The BG
A self-contained Python package for removing backgrounds from images with no external dependencies.
Features
- Zero Dependencies: Everything is bundled - just
pip install remove-the-bgand you're ready to go - Simple CLI: Just run
rem /path/to/your/images - Batch Processing: Processes entire folders of images
- Multiple Formats: Supports PNG, JPG, JPEG image formats
- AI-Powered: Uses advanced machine learning models for accurate background removal
Installation
pip install remove-the-bg
Usage
Command Line
Remove backgrounds from all images in a folder:
rem /path/to/your/images
Remove background from a single image:
rem /path/to/image.jpg
Python API
from remove_the_bg import remove_background
# Remove background from a single image
remove_background('input.jpg', 'output.png')
# Process a folder
from remove_the_bg.cli import process_folder
process_folder('/path/to/images')
How it Works
This package includes all necessary dependencies (rembg, Pillow) bundled within the package itself, so you don't need to worry about installing additional dependencies or dealing with version conflicts.
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file remove_the_bg-1.1.2.tar.gz.
File metadata
- Download URL: remove_the_bg-1.1.2.tar.gz
- Upload date:
- Size: 10.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3b781c5b016c15645d8f3a3cb0aa41589a24f22cd3ed3599ad42735146cba15
|
|
| MD5 |
c3571b1e4bebda42c2fcba4e4a32a103
|
|
| BLAKE2b-256 |
6286c93a5ff524b4044915bdd0c9076b1f10a6deff2d04f5f9e5b9750849b069
|
File details
Details for the file remove_the_bg-1.1.2-py3-none-any.whl.
File metadata
- Download URL: remove_the_bg-1.1.2-py3-none-any.whl
- Upload date:
- Size: 12.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
072ed73a745bc856387944c8f4cd6892f0a2ad2d28d141bb566efc1b088edd55
|
|
| MD5 |
d81a4167669493c2f298892ed7b6b400
|
|
| BLAKE2b-256 |
5d5583fc1ca5ba3ce031c504ff256c9a0269b61719eb10282d88b0f13a33be11
|