danielgatis/rembg
View on GitHub ↗ ★ 25,293 Python
Rembg is a tool to remove images background
16 mentions on Hacker News by 14 people: 7 stories, 9 comments · first 2021-08-25 · latest 2026-08-24
20082026
-
…so you can use something like `birefnet` for photorealistic images and `toonout` for illustrations. https://github.com/danielgatis/rembg
comment by vunderba · 2026-08-24 · in MS Paint and Photos inivisibly watermark even locally generated output with GUID -
…colored blackground. Then just run it through Rembg [1] or similar background removal tool. [1] - https://github.com/danielgatis/rembg
comment by vunderba · 2025-12-21 · in Why Can't Gemini Generate Images with Transparent Backgrounds? -
…for a while now. Too bad quality-wise they're lagging pretty badly behind other models. [1] - https://github.com/danielgatis/rembg
comment by vunderba · 2025-11-30 · in Show HN: Fixing Google Nano Banana Pixel Art with Rust -
It is a 2024 model, for comparison https://github.com/danielgatis/rembg/ uses U2-Net which is open source from 2022. There is also https://github.com/ZhengPeng7/BiRefNet (another 2024 model, also open source), it's not too late to switch.
comment by Mathnerd314 · 2024-08-27 · in Show HN: Remove-bg – open-source remove background using WebGPU -
…be a frequent task. Anyways, if you're looking for a cmd tool, rembg [0] is a pretty good one. [0]: https://github.com/danielgatis/rembg
comment by kinduff · 2024-08-26 · in Show HN: Remove-bg – open-source remove background using WebGPU -
Was searching for an equivalent for Linux, came across rembg. https://github.com/danielgatis/rembg
comment by Abishek_Muthian · 2024-06-23 · in 20x Faster Background Removal in the Browser Using ONNX Runtime with WebGPU -
It is a classic computer vision problem: image segmentation. There are open source tools like rembg ( https://github.com/danielgatis/rembg ) which call into pre-trained models. It is also easy to train your own model, I've used code from…
comment by samlinnfer · 2023-11-30 · in Ask HN: How does MS-Teams, Meets and Zoom virtual background works? -
…native DLL to input the path to a jpeg file and output the jpeg with background removed, like https://github.com/danielgatis/rembg does or https://www.adobe.com/express/feature/image/remove-backgroun...
comment by sema4hacker · 2023-02-13 · in Ask HN: What's app/tool you would pay someone $1000 to build? -
…I don't think you'll find an offline tool that comes close in terms of quality of result. There is: https://github.com/danielgatis/rembg
comment by bertman · 2022-08-16 · in Handpicked No-Signup Tools