Skip to main content

A background removal CLI tool using InSPyReNet model

Project description

RemoveBG CLI

A Python command-line tool for background removal from images and videos.

Installation

pip install snapbox-api

Usage

  1. Process a single image:
snapbox-api image -i "input.jpg" -o "output.png"
  1. Process a video:
snapbox-api video -i "input.mp4" -o "output.mp4"
  1. Extract video mask only:
snapbox-api video -i "input.mp4" -mk -o "output.mp4"

Requirements

  • Python 3.8 or higher
  • Dependencies are automatically installed with the package:
    • Pillow (for image processing)
    • rembg (for background removal)
    • OpenCV (for video processing)
    • NumPy (for array operations)

License

MIT License

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

snapbox_api-0.1.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

snapbox_api-0.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file snapbox_api-0.1.1.tar.gz.

File metadata

  • Download URL: snapbox_api-0.1.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for snapbox_api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 697efb7bdd064b82f34f366639599e9170349cfc57ba643c0610091990aea9f1
MD5 8baa369d01d52ccd31de46129babae4d
BLAKE2b-256 789673cbed86fde76b460f05fa40e5469659c925ed4f35fea903b6aae928aa46

See more details on using hashes here.

File details

Details for the file snapbox_api-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: snapbox_api-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for snapbox_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8139b5bf5809a8b29dc2e2e517bb212664ada6d2fd8cd658c6328431fef40ed2
MD5 b5542909214bd0d118af4d15eeb83298
BLAKE2b-256 95dd061cc1e8ee6ba91711e5a956f6f4bd90720c2fa6d10e4397ac6969d417a4

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