#166 · Primary category: Computer Vision
withoutbg-python
Python SDK for local and cloud background removal (pip install withoutbg)
Project last updated:07/23/26
GitHub Stars
1.3K
Forks
62
Contributors
3
License
Other
Why we included this project
The withoutBG Python SDK strips backgrounds in a few lines of Python and gives you two execution paths behind one API. The same remove_background() call runs open weights locally on CPU via ONNX, staying fully private and offline after a one-time ~455 MB download, or hits a managed cloud API when you swap in an API key. The cloud path exists for the hard cases, chiefly hair and fur, where the local model produces rougher edges, so you can upgrade quality without rewriting your pipeline. Output returns as a PIL RGBA image that composes naturally with the rest of the Python imaging ecosystem; the README notes that JPEG silently drops the alpha channel, so PNG or WebP is the safer choice.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)