Skip to main content

A self-contained background removal tool with no external dependencies

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-bg and 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remove_the_bg-1.0.5.tar.gz (23.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remove_the_bg-1.0.5-py3-none-any.whl (28.7 MB view details)

Uploaded Python 3

File details

Details for the file remove_the_bg-1.0.5.tar.gz.

File metadata

  • Download URL: remove_the_bg-1.0.5.tar.gz
  • Upload date:
  • Size: 23.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for remove_the_bg-1.0.5.tar.gz
Algorithm Hash digest
SHA256 15131b3b2f534d9ec30b99e1b650ca4b7cedd997ba56436f578a0201ce1c4a1a
MD5 57a83b61f5bfbc3fe4df3600f31c20b4
BLAKE2b-256 6b1f6a14b1538cabdbf113365dbf239f069ccf91dab4f9c2b77c5a67c0e7b3c9

See more details on using hashes here.

File details

Details for the file remove_the_bg-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: remove_the_bg-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 28.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for remove_the_bg-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0031a7012a85018ae04d166cc78ebc709af9167f4541b23f5c4c1547a4f898d6
MD5 5251e5e3ddbc573db0fd1f90a137388d
BLAKE2b-256 2df401eeb6529d8b0a11d236939ca72833f7a07591bfd894a30db8ac989ce2f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page