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
- Process a single image:
snapbox-api image -i "input.jpg" -o "output.png"
- Process a video:
snapbox-api video -i "input.mp4" -o "output.mp4"
- 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
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
snapbox_api-0.1.0.tar.gz
(6.8 kB
view details)
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 snapbox_api-0.1.0.tar.gz.
File metadata
- Download URL: snapbox_api-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4283c1e8214a95a985882f868df642aba7158d6147bac997a126118f25adac23
|
|
| MD5 |
cbe4698e2b3bb456de90c8db9cec3a6f
|
|
| BLAKE2b-256 |
4ad4128b887d0aeff3ffd79230fc0fefbe1cd2a72ce9bc9f21067b4f79306c09
|
File details
Details for the file snapbox_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: snapbox_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e373d8ee250c3e431d4bfba8211d9a2933e09e5804a3b34530999183ef82812
|
|
| MD5 |
84cc2b19970733356ad5919d8c816e0a
|
|
| BLAKE2b-256 |
922b77aa1e6490db2498aec6acfb9304e293da456894fdad3f7999af5c6a34c3
|