Nice! How are you doing it?
My guess would be U-Net-like ConvNets, trained on images annotated with foreground/background segmentations. Probably with all kinds of tricks like multi-scale inference etc. However, simple frame-by-frame segmentation will probably not be enough to get temporal consistency, so for each frame's segmentation they probably take previous and following frames into account.
Show HN: Unscreen – Remove Video and GIF Backgrounds
31–40 of 43 posts
Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#32Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#33Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#34Can't really get it working. All I see is a white bar in the middle of screen. https://i.imgur.com/mOWAJwg.png
Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#35From the submission title I assumed this was some kind of plug-in to remove those auto-playing video backgrounds from web pages. This could be a very useful tool. It sent me a 157 MB APNG in about a second, I don't even get those kinds of speeds from local file servers.
Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#36Earlier quoted context omitted.
Mandalorian solved it by completely replacing all lighting with an LED videowall room showing camera tracked cubemap texture fed realtime from Unreal
I think the poor man’s version of this would be a fixed camera position and using a projector from the rear of the screen.
Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#37The privacy policy says that the uploaded video is deleted immediately after processing, but I'd still prefer a locally installed application for this (without any Internet access for it).
Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#38This is an area of research that has been going on for years now, called "natural image matting". There are dozens of techniques of varying success that have been developed over the course of a decade and a half. My guess is that this is taking some more common implementation like 'closed form matting' and putting it on a server with ffmpeg. To guess the foreground I would use motion vectors as a starting point. Also…
Pretty sure it's a machine learning model for video segmentation. It doesn't guess the foreground by motion: it guess it with millions of human-annotated masks. Deep learning is making decades of research obsolete by delivering better results with more generalisation and less time.
Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#39Earlier quoted context omitted.
My guess would be U-Net-like ConvNets, trained on images annotated with foreground/background segmentations. Probably with all kinds of tricks like multi-scale inference etc. However, simple frame-by-frame segmentation will probably not be enough to get temporal consistency, so for each frame's segmentation they probably take previous and following frames into account.
That is incredibly insightful. For someone having no knowledge about this field, where would one start if he wants to remove the background from images using programming?
For a deep learning approach, I would start by looking into literature on semantic segmentation. Here is a blog post I just found which gives an intro: [1]
With state-of-the-art models (e.g. DeepLabV3) and a good dataset of foreground/background segmentations, the results could be of useful quality already.
The next step would be to look into literature on image matting (e.g. deep image matting [2]) which instead of trying to classify each pixel as foreground/background, regresses the foreground colour and transparency.
___
[1] https://divamgupta.com/image-segmentation/2019/06/06/deep-le...
Re: Show HN: Unscreen – Remove Video and GIF Backgrounds
#40The examples are great! I recorded a short video of myself and the processing failed horribly. Whelp.