{"slug": "show-hn-bg-be-gone-cut-out-people-pets-and-anime-art-all-on-your-own-pc", "title": "Show HN: Bg-be-gone – Cut out people, pets and anime art, all on your own PC", "summary": "A developer released bg-be-gone, a local desktop app that removes backgrounds from photos of people, pets and anime art using the BiRefNet segmentation model and Meta's Segment Anything (SAM), with edge-snapping brush corrections built on top of SAM. The app supports GIFs, WebP and batch processing, and runs entirely on the user's own PC. The developer said BiRefNet general avoids the poor cartoon and anime outlines common in freemium background-removal tools.", "body_md": "bg-be-gone is an app I built initially with the goal of removing the background from my spouse's pictures in FFXIV, but then I really got interested in the ML side of this!\n\nThat led me down the rabbit-hole of learning about BiRefNet and alternatives, and eventually I also stumbled into Facebook (now Meta's) segment-anything (SAM).\n\nI've been using this pretty heavily for background removal, but one thing that most freemium BG removal tools (or bucket-fill magic wand without some feathering/etc) is getting nice outlines of cartoons/anime.\n\nUsing BiRefNet general, there's not really this issue!\n\nI then had to deal with the fact that BiRefNet tries to infer a *subject* in images. Normally. But there could be multiple.\n\nWell, they handle that, but they don't handle if you wanna crop out just one, or focus on something non-obvious.\n\nThen I remembered that my iPhone used to allow me to hold on an object in an image and it'd get a segment. Found out that uses their version of SAM. Implemented it myself.\n\nThis thing's so awesome! There's so many things I built on top of it with Claude which allow me to give the model a hand! We ended up with a very nice experience where we can fix the model's mistakes and do some pretty amazing crops of subjects on very convoluted images.\n\nThe thing is, this is not like touching up with the wand in PhotoShop. I use a brush, but it snaps to edges based on *what the model infers*, so the outlines DON'T LOOK LIKE SHIT!! It's amazing!\n\nAnyway. It also supports GIFs, WebP, batches, etc! I think it's pretty awesome and I'm happy and proud with it! I'd love if it helped anybody!\n\nComments URL: [https://news.ycombinator.com/item?id=50711166](https://news.ycombinator.com/item?id=50711166)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-bg-be-gone-cut-out-people-pets-and-anime-art-all-on-your-own-pc", "canonical_source": "https://github.com/cristeigabriela/bg-be-gone/releases/tag/v1.2.0", "published_at": "2026-12-01 05:38:18+00:00", "updated_at": "2026-12-01 06:15:23.675871+00:00", "lang": "en", "topics": ["computer-vision", "ai-tools", "ai-products", "machine-learning"], "entities": ["bg-be-gone", "BiRefNet", "Meta", "Segment Anything (SAM)", "Claude"], "also_reported_by": [], "takeaway": "Pairing BiRefNet general segmentation with SAM-based click-to-segment and edge-snapping brush corrections lets users isolate individual subjects in multi-subject images and get clean cartoon/anime outlines that freemium tools miss.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-bg-be-gone-cut-out-people-pets-and-anime-art-all-on-your-own-pc", "markdown": "https://wpnews.pro/news/show-hn-bg-be-gone-cut-out-people-pets-and-anime-art-all-on-your-own-pc.md", "text": "https://wpnews.pro/news/show-hn-bg-be-gone-cut-out-people-pets-and-anime-art-all-on-your-own-pc.txt", "jsonld": "https://wpnews.pro/news/show-hn-bg-be-gone-cut-out-people-pets-and-anime-art-all-on-your-own-pc.jsonld"}}