Back to Home11/18/2025, 4:39:23 PM

Show HN: WithoutBG Focus – Background removal with sharp edge detection

1 points
0 comments

Mood

supportive

Sentiment

positive

Category

tech

Key topics

background removal

image processing

open source

I've been working on background removal models for a while (previously released Snap). Focus is a major improvement, especially for hair, fur, and complex edges.

It's fully open source (Apache 2.0) and runs locally. I also run a paid API to sustain development, but the open source model is complete and functional on its own.

Deliberately unfiltered results (you'll see where it fails): https://withoutbg.com/resources/background-removal-results/m...

Quick start:

  pip install withoutbg
Or run the Docker web UI:

  docker run -p 80:80 withoutbg/app:latest
The model used mean gradient error in training, heavily penalizing missed edges. This produces sharper results but occasionally causes false positives in foreground-background classification. Would appreciate technical feedback on this tradeoff.

GitHub: https://github.com/withoutbg/withoutbg Docs: https://withoutbg.com/documentation/integrations/python-sdk

The author releases an open-source background removal model, 'Focus', with improved edge detection, and shares it on GitHub, inviting technical feedback.

Snapshot generated from the HN discussion

Discussion Activity

No activity data yet

We're still syncing comments from Hacker News.

Generating AI Summary...

Analyzing up to 500 comments to identify key contributors and discussion patterns

Discussion (0 comments)

Discussion hasn't started yet.

ID: 45968569Type: storyLast synced: 11/18/2025, 4:41:43 PM

Want the full context?

Jump to the original sources

Read the primary article or dive into the live Hacker News thread when you're ready.