Tech Trends

Facebook’s New AI Engine Can ‘Open’ Closed Eyes in Photos

Artificial intelligence is believed will become an indispensable part of our lives in the future. Companies like Google, Microsoft, Facebook and Apple are already investing heavily in AI to build their future products. And now, Facebook, in addition to all its existing products based on AI, has come up with an AI engine which uses the platform’s massive repository of photos with people blinking.

How Facebook Tested it

In order to test this particular system, Facebook took a different approach. It fed the GAN with “exemplar” data showing the target person with their eyes open. Based on the data, GAN not only learns how a person should look with their eyes open but also learns their eye shape, color, etc.

According to the researchers, “Exemplar GANs provide a useful solution for image generation orin-painting when a region of that image has some sort of identifying the feature. They provide superior perceptual results because they incorporate identifying information stored in reference images or perceptual codes.”

Using its massive repository of photos with people blinking, Facebook has come up with an AI engine that can replace closed eyes with open ones. The company’s new AI engine called Generative Adversarial Network is essentially a machine learning system that fools itself into thinking that its creations are real.


One part of Generative Adversarial Network learns to recognize faces while the other part continuously produces images that keep growing in realism. The results are remarkably convincing and, in fact, testers couldn’t tell pasted eyes apart from real ones. Take a look at the image below –