Facebook's AI can take your blinking selfies and digitally open your eyes

Most people touch up their selfies to remove pimples or ruddy patches without a second thought. Facebook wants you to have the same attitude about removing pesky eyelids from photos, too. 

Using a machine learning technique called 'generative adversarial network,' or GAN, Facebook researchers taught an AI to observe a picture in which you blinked, compare it to an unblinking photo of you, and then use “in-painting” to substitute your closed eyelids for open eyes. 

Facebook researchers Brian Dolhansky and Cristian Canton Ferrer released a paper Monday that detailed the process. Eventually, Facebook could add GAN as a feature to its Facebook or Instagram apps, though the paper does not suggest this is an option. 

Dolhansky and Ferrer taught their AI to match features like iris color, skin tone, eye contours and lighting. They then gave photos to participants in their study and asked them to pick which eyes were the originals. 54% of the time, they either picked the in-painted eyes or couldn’t tell the difference. 

The left photos are templates; the middle photos were the bad selfies; the right photos show the GAN AI at work. | Credit: Dolhansky and Ferrer

The left photos are templates; the middle photos were the bad selfies; the right photos show the GAN AI at work. | Credit: Dolhansky and Ferrer (Image credit: Facebook Research)

Dolhansky and Ferrer did admit that they had trouble generating eyes from some original photos, especially those whose subjects wore glasses or whose hair covered or overshadowed their eyes. They’re confident they can solve the issue with further tests. 

The study doesn’t make clear whether the “participants” were looking at their own photos or at strangers. People looking at their own selfies or at family snapshots may be more likely to spot an “uncanny valley” effect, as the researchers put it. 

Still, with further tweaking, this AI could make it possible to salvage those group photos where one person blinked or everyone squinted in the bright sun. 

AI touch-ups

Facebook isn’t the only tech company interested in using AI to significantly edit people’s features in photos. 

Adobe is working on an app that will take your selfies and automatically Photoshop them. It’s AI will intelligently study faces and use a telephoto lens to downplay certain features on your face. 

Beyond this photo-based plastic surgery, Adobe also uses AI to intelligently select and crop out objects in a photo, or to enhance low-res images by using AI to estimate what pixels are missing and then insert them automatically. 

Eventually, AI could be used to selectively pull features from your most flattering photos into some kind of realistic-looking amalgamate selfie, or to pull features from other people’s photos into your own. 

Combined with AI tech to simply edit your facial template to look more handsome or beautiful, and we’re about to get an influx of some very flattering, very unrealistic dating profile pics. 

Michael Hicks

Michael Hicks began his freelance writing career with TechRadar in 2016, covering emerging tech like VR and self-driving cars. Nowadays, he works as a staff editor for Android Central, but still writes occasional TR reviews, how-tos and explainers on phones, tablets, smart home devices, and other tech.

Latest in Facebook
 Facebook social media app logo on log-in, sign-up registration page
How to delete all your Facebook posts
The Meta logo on a smartphone in front of the Facebook logo a little bit blurred in the background
Meta's new 'Link History' feature for the Facebook app isn't as protective of your data as it claims
The Meta Quest 3 in action
How much more data can Meta collect? Probably a lot, thanks to the Meta Quest 3 and Ray-Ban smart glasses
A laptop screen showing a Facebook Groups page
Scam alert: how to spot hoax posts in your Facebook Groups
Facebook
Facebook Messenger is losing a useful messaging feature soon
mother watching her daughter's activity online
Meta's new Facebook parental controls show social media still doesn't like responsibility
Latest in News
Google Pixel 9
The Google Pixel 10 just showed up in Android code – and may come with a useful speed boost
L-mount alliance
Sirui joins L-Mount Alliance to deliver its superb budget lenses for Leica, DJI, Sigma and Panasonic cameras
Security padlock and circuit board to protect data
Trust in digital services around the world sees a massive drop as security worries continue
A Lego Pikachu tail next to a Pebble OS watch and a screenshot of Assassin's Creed Shadow
ICYMI: the week's 7 biggest tech stories from LG's excellent new OLED TV to our Assassin's Creed Shadow review
Samuel and Romy standing very close together in A24's Babygirl movie
Everything new on Max in April 2025, including A24's Babygirl and The Last of Us season 2
An AMD Radeon RX 9070 XT made by Sapphire on a table with its retail packaging
AMD’s secret weapon against Nvidia seems to be stock – way more RX 9070 GPUs are rumored to be hitting shelves than RTX 5000 models