112 comments

[ 4.0 ms ] story [ 159 ms ] thread
Hey HN! We originally built this as part of a bigger app but since removing backgrounds of images can be a tiresome task in itself we thought why not release it as a standalone tool? Feedback appreciated!
Very impressive! It has some issues with uncommon hats though (which isn't too surprising):

Original: https://www.howtogeek.com/wp-content/uploads/2013/02/xrichar...

Background removed: https://www.remove.bg/system/uploads/image/processed/1c5f1c6...

I feel like RMS would be positively tickled to know that his hat had broken a commercial machine learning API.
And disappointed that his photos were fed to it.
If I was asked to cut the background out of that photo, I also would have been confused about that big circle behind his head.
It's Saint IGNUcius that is on that picture, he is a saint in the church of Emacs, and the halo on his head is an old disk.
The drive-by downvotes on HN have truly gotten out of control.

HN needs to again raise the minimum karma required to downvote.

Fantastic! great job. On the photo I tried I was holding a water bottle, it between the water bottle and my body it left a small area (inside my elbow) - also between my knees. Given how fantastic it is, if there were a way for you to add a click to remove more parts that it hadn't thought of as the background (in this case between my elbow and body) it might be good. The wall itself in that space was very regular, but I can see why it didn't remove it, it might as well have been a jacket or something, in which case no need to remove it.

The outline of my body that it did make was amazing.

Great job! As a note, I think you will likely collect lots of deep links to "missing" pictures over time as your service becomes popular - you already got two such links on this page in a few hours...
We are not an image hoster after all. Too many problems would be coming along also.
You might want to make it more obvious that pictures aren't linkable by doing something like returning the image from a POST (might make for bad UI) or returning the image as a data url.
Makes sense!

One idea for the "enter a URL" path. If you save the image URL for a longer time period, you could give the viewer the option to re-run that URL and perhaps save it to that location for another hour.

Or show a message like what Flask's logo does when you right-click it the first time [0]. e.g. "Note: Direct linking will not work. This image will disappear from our servers in an hour." (Possibly with "Click here to post to Twitter instead," which can help "persist" an image while spreading the site a bit further in the process.)

[0]: http://flask.pocoo.org/

Hello! What's the bigger app? Are you still working on that and this is just a nice little side project?
How did you collect the training set? Did you manually process (removed background) from training images or outsourced it via a third party?
I cheated a little bit by creating an AI that allowed me to do it faster in a semi-automatic fashion. However, the first batch to train this "labeling"-network was generated manually, which took forever.
That semi-automatic AI seems like a useful product as well, for a different task
Pretty impressive.

Hard to judge because resulted image is tiny - but looked good.

Worked superbly. I spent hours yesterday manually removing backgrounds from family pics to have tshirts printed. This did it in a second.
This works really well! It would be nice if it told you it only works on images with people before you upload an image.
I knew I wouldn't be the only one to try that. It is neat that it will tell you that no people are found in your image.
This works pretty well, thanks for sharing, this could be useful for thumbnails!
It would be so awesome if I could something like this at a much smaller scale in a darktable module for cleaning up images and for doing artistic types of portrait editing. Nice work!
> We process them, and temporarily store the results so you can download them. After that (about an hour later) we delete your files. We do not share your images or use them for any other purpose than removing the background and letting you download the result.

Glad they respect your rights on the image and delete their temp files after a reasonable amount of time.

It's also just a smart policy for saving money on storage space, and not getting in trouble when someone uploads illegal content to your site.
Nice work! Just curious, any reason that the output image is constrained to a lower resolution?

Also, any thought to handling video in the future?

Thanks!

Computation time increases quadratically with image size, so we had to set some limit. For now that's 500x500 px but we are looking into ways to increase the limit!

Video: Possible, we tried this prototypically already, but it would need some more optimization for good results (e.g. to avoid flickering between frames).

For higher resolution you should seriously consider charging a subscription, or on a pay-for-credits basis. Many organizations, especially those with limited or highly-demanded in-house design talent (ranging from finance to marketing to funded startups), would absolutely justify this product at rates absurdly greater than server costs. Unlike Fivver talent manually tracing boundaries, this has near instant turnaround, and that is HUGE for people with deadlines and infinite Uber budgets who just need stock images combined together.

Source: am in NYC.

Just want to jump in on this - I spent a significant amount of time in the print ad design world and something like this would be an easily justified expense.
(comment deleted)
Small business owner. I would use it since it would save me a ton of time and money on my own stuff.
I do video effects work and I'd suggest this could be very useful even with jitter, if you allow expanding the selection. A lot of time is spent creating "garbage mattes" for green screen footage, basically just roughly rotoscoping out the background so you can do key removal on just the important bits. So you could even massively downsample the video for your processing and still have a good enough matte.

Although, with your tech, and the more limited problem space of green screens and poorly lit green screens, you could probably make a pretty amazing tool to do the entire green screen removal.

Animated GIFs don't work, you should at least extract the first frame to process.
This is impressively good!
This worked surprisingly well on a picture of a fursuiter with several people (no suits) in the background. I didn't expect it to work at all.
So many questions
Do not ask for the source pictures please. :(
(comment deleted)
Post a link. I'm interested to see how well it worked.
It seems to have been "fixed" for that one photo. Now it pulls out random people in the background instead of the focus of the picture.

It did work (mostly) on this shot though: https://snouts.online/@Kye/101262023246984238

Poor Duke lost his ear...

Care to explain more about how it works?

Your about page says "sophisticated AI technology to detect foreground layers and separate them from the background" but that's pretty vague.

What kind of AI?

Usually cheaply paid humans.
No chance this is done by a human. It's way too quick, and it makes mistakes that humans wouldn't make.
/sarcasm

Maybe not true here, but far common than people care to admit.

I think many mobile device/camera apps have been doing this. The portrait feature where the background bokeh is artificially made is using a similar technique.
I was not expecting this to work as well as it did. Great job!
Is there an open source underlying library as part of your service? Would love to start using it in smaller projects :) great job BTW
Thanks for doing this! This is an awesome app! I have a lot of pain trying to remove the background. How long did it take to build this particular app?
How does this background removal tool work? The removal and keeping the people is really good, far better than I have done in the past manually
Works perfectly with people! Such a well done and simple tool.

Of course I'm biased, but I think putting in the effort to have this work with pets would be well worth the time.

There's services that allow you to turn photos with transparent backgrounds into stickers.

Hook this up with that, and you may have a source of revenue.

This is awesome!

I uploaded a photo of myself as a kid with my sister and grandpa. Early 80's, a washed out photo, where the lines were less definitive. Had some issues with that image.

This photo if you're curious. https://imgur.com/a/a4jQ5y1

Beautiful. Works great with portrait poses, less well with groups.
Works amazingly well, and has an even better domain name.
Works perfect. Very easy to use and quick. Last week I was trying to remove background from image and it took a while to finish the task.

Great job :-)

Does not work with cats.
It says so in the about section. The AI is trained on people.
Let's make this a feature request for the version 2.0. People love cats and dogs.

EDIT: And horses? I guess they are common in photos of trips.

Ooo now this _is_ impressive.

I used to work in VFX, where I did my fair share of pain and roto.(before moving to tech) Cutting out hair was my single biggest dread. However this appears to do a stella job automatically.