Show HN: FeyNoBg – Automatic background removal model and training library

60 points by snyy 4 hours ago on hackernews | 15 comments

bickov | 3 hours ago

[flagged]
Can you please not post AI-generated or AI-edited comments to HN? It's not allowed here - see https://news.ycombinator.com/newsguidelines.html#generated and https://news.ycombinator.com/item?id=47340079.

Of course, it's impossible to know for sure what was LLM processed or not, but some of your posts (like this one) have been getting classified that way.

[OP] snyy | 3 hours ago

The 4K cap was a judgement call, we didn't want one source to dominate. The license is cc-by-nc, just added it to the hugging face

nickludlam | 3 hours ago

This looks great! What are the resolution limits? From the GitHub readme I saw mention of 1024x1024, but I was able to process an image 1920x2880 just fine. I didn't see any really obvious scaling artefacts, so is there something clever happening behind the scenes?

[OP] snyy | 2 hours ago

We resize the opacity mask. That tends to scale better

defmetrix | 3 hours ago

This is awesome, I just bookmarked your tool. Ive been looking for something simple to use, since Its not easy to use the segment anything tool anymore. Thanks!

[OP] snyy | 2 hours ago

Thanks! Feel free to open an issue if you run into any issues with the outputs

https://github.com/feyninc/nobg/issues

geooff_ | 2 hours ago

I love seeing this. Background removal is such a core task used in so many systems, I group it in with speech to text in terms of importance.

I love seeing maturity getting pushed in this space. Congratulations to you and the team!

very cool! I've been having a fun time porting non-LLM models to iOS/Android (recently had some success with making Bonsai's image generation model run on Android) - have you attempted to run any of the workflows on a mobile device at all? Mind if I try?

[OP] snyy | 2 hours ago

Please do try, I would love nothing more!

All I ask is you make a PR to https://github.com/feyninc/nobg with your results. We'd love to see what you make, contribute in any way we can, and share onwards.

Of course, would be happy to!

yarone | 2 hours ago

I was so impressed with remove.bg in Dec 2018; awesome to see the progress in this area, so cool.

woadwarrior01 | an hour ago

Why extend an MIT licensed model's weights (BiRefNet) and release it under a cc-by-nc-4.0 license?

popalchemist | 39 minutes ago

Yep, nobody wants to adopt models with this license because it opens legal questions most users, whether professional or non-professional, don't want to muddy their work with.

[OP] snyy | 37 minutes ago

This pertains to the larger open source licensing discussions that have been happening (as I'm sure you've seen too).

We've released projects under the MIT license before, most notably https://github.com/feyninc/chonkie. While we're not trying to directly monetize on this work, credit goes a long way and helps in other operations.

Recently, attributed usage is shrinking. To be clear, this is not a shrinkage in actual use of our software, just how many people acknowledge that they rely on it.

cc-by-nc is a protection against that. We've been very honest about our work being on top of BiRefNet as we want to extend the original creators the same courtesy. I have no issues if individuals fork/finetune/or otherwise build on top of any open source projects we release, irrespective of license. At minimum, we want acknowledgment if a company chooses to use our software in production.