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

Facebook wants to literally open your eyes with A.I. that fixes blinks in photos

Add as a preferred source on Google

Previous programs use am image of someone else’s eyes to fix a blink (third column), but Facebook researchers just created a program that uses your own eyes (fourth column). Facebook Research

Artificial intelligence is now smart enough to paint in the missing regions of a face to fix a blink or turn a frown into a smile. The problem? Those A.I. programs use a stranger’s photograph, so while the programs may fix a bad blink, they also create a Frankenstein of you with someone else’s eyes. Facebook researchers, however, may have come up with a solution by training an A.I. that uses your actual eyes from a previous photograph to fix that blink. Facebook published the research on June 18.

Recommended Videos

Repairing a photograph with A.I. is nothing new — earlier this year, Nvidia researchers created an A.I. healing tool that could replace missing pixels in a portrait, including missing eyes. While those programs can fix something like a blink, the A.I. relied on a database of images of other people, painting in someone else’s eyes to fix that blink. Besides using someone else’s eyes, the technology also tended to be biased toward certain shapes and colors, Facebook suggests.

But Facebook probably already has a record of your face (or a few hundred selfies), so the company’s researchers decided to try to fix that awkward blink without making it look like you got a new pair of eyes. The researchers created two different approaches to the technique, called eye in-painting. The first uses a reference image to replace the eyes. The second stores an actual version of your eyes, similar to how Facebook stores data for facial recognition, to use in those fixes.

While many A.I. programs work with existing databases of photos to train the program, Facebook created its own data set. The set of celebrity photos taken on a runway by professional photographers didn’t match the badly lit selfies the program is more likely to encounter, while other datasets contained images with people wearing sunglasses. Instead, Facebook created a dataset of around 200,000 people, with at least three images of each person.

The program bases the results on the reference eye in order to help preserve identity, while the A.I. helps create a more realistic result. For example, the network used the data photos to learn how to create a realistic result when the pose or lighting in the reference eyes and the edited photos are different.

The resulting program, Facebook says, fixes eye blinks with results that look more accurately like that specific individual and without losing as much data as earlier programs. The results aren’t perfect — for individuals with hair obscuring part of one eye, for example, the program didn’t accurately recreate the shape of the eye, while in other scenarios, the eye color had slight variations. 

Facebook isn’t done researching the possibility of automatically fixing those blinking selfies, but with some additional work, a future version of the social network could do much more with automatic photo fixes before sharing.

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…
RAMmageddon is coming for cameras, and your dream setup is in the crosshairs
Fujifilm's camera price hikes are just the latest sign of a DRAM crisis reshaping costs beyond smartphones and laptops.
Fujifilm's X100VI camera, released in 2024.

If you've been saving up for a new camera, I've got some bad news for you. Waiting until fall just got a lot more expensive. And this isn't some isolated issue troubling the camera industry. 

It's the same global chip crisis coming for basically everything with a processor and memory inside it.

Read more
Fujifilm Instax Mini 13 review: This instant camera won me over with its no-frills retro charm
From printing instant memories to rediscovering the fading charm of polaroids, Fujifilm's camera offers a budget route to a simple indulgence.
Fujifilm Instax mini 13 camera.

See at Amazon

Quick review

Read more
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