How Does FaceApp Work?

FaceApp uses Generative Adversarial Networks to train its program to create specific categories of realistic images. It then transfers the features to the photo uploaded by the user, giving it the desired category of the filter.

If you’ve been online lately, you have probably come across the viral challenge of aging your face 60 years into the future. Everyone from celebrities to your weird aunt seem to have hopped on this trend, which comes courtesy of FaceApp.

Woman face before and after anti-aging procedures Face application. Age filter making young to old. Faceapp - Vector( Alona Syplyak)s

FaceApp filters user images to look old. (Photo Credit : Alona Syplyak/ Shutterstock)

FaceApp is an image-manipulation application that enables users to post their selfies and retouch them in photorealistic alterations. One of the most famous uses of the app is to age your face into your 60’s and 70’s, essentially predicting how you’ll look later in life. It also enables gender-swapping, to see how you would look if your gender was reversed, in addition to enabling users to add features on your selfies, such as different beards or hairstyles.

The features have garnered a lot of mainstream attention and rightfully so, as the results are very realistic and occasionally unnerving. How do they manage to achieve such highly precise, on-the-spot image manipulation? Let’s find out!

Background

FaceApp was created by Wireless Lab and initially released in January of 2017. The app mainly focuses on selfies or photos with faces; transforming them to make the image smile, look older, look younger, envision additional features (hairstyles, beard) or change the gender.

FaceApp went viral in 2017, as people began posting challenges to transform their selfies with the app’s features. The image results of the app are very convincing—and entertaining—which helped the app spread like wildfire on Facebook and Instagram. The app has now been downloaded more than 100 million times, making it the top-ranked app on the iOS App Store in 121 countries.

FaceApp logo on the screen of smartphone with the flag of Russia at the blurred background behind it(Ascannio)S

FaceApp is a major hit with users. (Photo Credit : Ascannio/ Shutterstock)

The app uses neural networks to quickly manipulate the images. The results are truly something to behold, as it is very difficult to discern an altered image from reality. The app gives some glimpse into the prowess of artificial intelligence in image and video manipulation, employing tested methods to garner app growth.

How does it work?

FaceApp uses machine learning to make its program manipulate user-fed images. These photos come from your library or  are snapped within the app. The app provides various manipulation features in both its free and paid versions. Once transformed and saved, you can then post the images to the platform of your choosing—Facebook, Instagram, WhatsApp, etc.

FaceApp uses a very specific type of machine learning technique called a neural network. These networks are modeled on the neuronal processes of the human brain and can be trained to recognize and manipulate specific tasks. The training data goes through multiple layers—much like the brain—from which it extracts specific features that make up the particular set of data.

Neural net. Neuron network. Deep learning. Cognitive technology concept. Vector illustration - Vector(all_is_magic)s

Multiple layers in a network, modeled on the human brain. (Photo Credit : all_is_magic/ Shutterstock)

To enable the the program to recognize faces and add modifications to get the desired effect, FaceApp uses a subset of neural networks called Generative Adversarial Networks (GAN).

Generative Adversarial Networks (GAN)

GAN’s operate two neural networks pitted against each other to create a realistic image. One of the networks is called a generator and its job is to take noise vectors (a list of random numbers) and generate an image. These random numbers ensure variation in the generated image so that it produces a different image every time.

The second network is called a discriminator and its job is to critique the images created by the generator. The discriminator critiques the images on the basis of the real-world data it is fed. It will continually reject the images and provide feedback on the parts that are flawed. Given enough time and computation power, the generator will eventually pass all the criteria of the discriminator and create a realistic image.

Vector technology icon Generative-adversary network(ShadeDesign)s

Two aspects of GAN. (Photo Credit : ShadeDesign/ Shutterstock)

To create images with specific features, the GAN goes a step further and a condition is added. For example, to get the network to generate photos of elderly faces, it is fed training data labeled by age, which helps the GAN know the characteristics.

The generator then generates photos of various ages and the discriminator critiques them on the basis of the training data. The condition is changed for another feature (creating young faces) and the procedure is repeated. Thus, when you take a selfie and select the option to make your face look older, the app transfers the trained feature to the image from its huge training library, while maintaining the primary aspects of the person, but giving them ‘oldness’.

Controversy

Although the app showcases great image manipulation capabilities, it has been frequently surrounded by controversy. During its initial release, the app was scrutinized for having a filter that made photos of people ‘hot’ by making their skin tone fairer. The app also came into an unwanted limelight for their filters that changed people’s faces into ‘Black’, ‘Indian’ and ‘Asian’ and critics slammed the app for being racist.

As the app gained more attention and went insanely viral on various platforms, other controversies began to loom. Many users had concerns over the privacy of their submitted data and the unfettered access that FaceApp has to the images in the phone on which it is installed. The app has also been accused of selling the thoroughly labeled data garnered from their millions of users to third-party companies eager to access such data.

However, these controversies haven’t seemed to stop the virality of the app, as it keeps gaining more followers every day. It seems to have touched on a curious nerve of users and is likely to keep updating its features to stay relevant and continue dominating app marketplaces around the world.

References

  1. Columbia University
  2. Purdue University
  3. Northeastern University
  4. UCLA
The short URL of the present article is: http://sciabc.us/7gLpJ
Help us make this article better
About the Author:

Vishal is an Architect and a design aficionado. He likes making trippy patterns in his computer. Fascinated by technology’s role in humanity’s evolution, he is constantly thinking about how the future of our species would turn out – sometimes at the peril of what’s currently going on around him.

.
Science ABC YouTube Videos

  1. Forensic Science: How Do Doctors Determine Time of Death (Pallor, Algor, Rigor and Livor Mortis)?
  2. Why Is Space Cold If There Are So Many Stars?
  3. Why Do You Hear A Rumbling Sound When You Close Your Eyes Too Hard?
  4. Hawking Radiation Explained: What Exactly Was Stephen Hawking Famous For?
  5. Current Vs Voltage: How Much Current Can Kill You?
  6. Coefficient Of Restitution: Why Certain Objects Are More Bouncy Than Others?
  7. Jump From Space: What Happens If You Do A Space Jump?
  8. Does Earth Come To The Same Spot Every Year On Your Birthday?

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.