Skip to main content
  1. Home
  2. Photography
  3. Computing
  4. Social Media
  5. News

YouTubers can soon replace ugly video backgrounds — no green screen required

Add as a preferred source on Google
Google Research
Google Research

Replacing the background on a video typically requires advanced desktop software and plenty of free time, or a full-fledged studio with a green screen — but Google is developing an artificial intelligence alternative that works in real time, from a smartphone camera. On Thursday, March 1, Google shared the tech behind a new feature that’s now being beta tested on the YouTube Stories app.

Recommended Videos

Google’s video segmentation technique started out like most A.I.-based imaging programs — with people manually marking the background by hand on more than 10,000 images. With that data set, the group trained the program to separate the background from the foreground. (Adobe has a similar background removal tool now inside Photoshop for still images.)

That data set, however, was trained on single images — so how did Google go from a single image to replacing the background on every frame of video? Once the software masks out the background on the first image, the program uses that same mask to predict the background in the next frame. When that next frame has only minor adjustments from the first, such as slight movement from the person talking on camera, the program will make small adjustments to the mask. When the next frame is much different from the last — like if another person joins the video — then the software will discard that mask prediction entirely and create a new mask.

While the ability to separate the background is impressive by itself, Google wanted to go one step further and make that program run on the more limited hardware on a smartphone rather than a desktop computer. The programmers behind the video segmentation then made several adjustments to the program in order to improve the speed, including segmentation, downsampling, and reducing the number of channels. The team then worked to enhance quality by adding layers to create smoother edges between the foreground and background.

Google says those changes allow the app to replace the background in real time — applying changes at over 100 fps on an iPhone 7 and over 40 fps on the Google Pixel 2. The training set, Google says, had a 94.8 percent accuracy rating. All of the examples Google shared are videos of a person — the company didn’t say if the feature works on objects.

Inside the beta test of the feature, YouTubers can change the background in the video by selecting from the different effects, from a night scene to a blank background in black and white. Some of the effects in the sample even added lighting effects, like a lens flare at one corner.

The video segmentation tool is already rolling out — but only as a beta test, so the feature isn’t yet widely available. After taking in results of that test though, Google says it plans to expand the segmentation effects along with adding the feature to other programs, including augmented reality options.

Hillary K. Grigonis
Hillary never planned on becoming a photographer—and then she was handed a camera at her first writing job and she's been…
Want to try film photography? Kodak’s new $35 camera is a great place to start
This retro inspired Kodak EC35 camera keeps film photography refreshingly simple.
Kodak-EC35

If you've been curious about film photography but didn't want to spend a fortune, Kodak has a new camera worth checking out. The new Kodak EC35 is a reusable 35mm point-and-shoot camera that costs just $34.99, making it one of the most affordable ways to try shooting on film.

Developed by Reto Project under the Kodak brand, the EC35 keeps things simple with a lightweight design, automatic flash, and a pocket-friendly body. It also arrives as interest in analog photography continues to grow, offering beginners an inexpensive alternative to disposable film cameras.

Read more
The FCC’s latest crackdown could put more than DJI drones at risk in the US
Robot, Person, Face

DJI may have found creative ways to keep some of its products flowing into the US, but those efforts are now drawing increased attention from regulators. According to The Verge, the US Federal Communications Commission (FCC) has started cracking down on several companies it believes could be helping DJI continue selling products in the country. These businesses have been described by industry observers as "DJI front companies" because they market or import products that appear to be closely tied to the Chinese drone maker while operating under different brand names.

DJI's alleged back door may be closing

Read more
I bought Kodak’s viral keychain camera, and the bad photos are part of its charm
The Kodak Charmera is barely a camera, and I still keep using it
Machine, Wheel, Camera

I bought the Kodak Charmera partly because I wanted a portable digital camera, and partly because I wanted a pretty little collectible. The Charmera is sold as a blind box, so you do not know which version you are getting until the box is opened. There are multiple retro Kodak-style designs, plus a transparent secret edition that looks like the one everyone would want.

I had the shopkeeper pick my box for better luck, and it worked out. I got the yellow variant, which is inspired by Kodak's original 80s disposable camera. The transparent one is definitely the fun collector’s piece, but the yellow model feels like the proper Kodak version. It looks like a tiny toy camera that escaped from a souvenir shop, found a keyring, and now hangs around wherever you go.

Read more