New Real-Time Face-Swapping AI Allows Anyone to Mimic Famous Faces

real-time face-swapping AI

Photo Credit: X / João Fiadeiro

Deepfakes are not a new sensation, but the technology for creating them is moving at light-speed. A new tool has gone viral on social media because it can extract a face from a single photo and apply it to a live webcam video source. Here’s the latest.

Deep-Live-Cam can let anyone mimic a famous face with just a single photograph and this software. While results aren’t perfect, they are much more convincing than you would think—based on past deepfakes created. Software like deep-live-cam powers tools that have allowed a South Korean woman to get scammed by an Elon Musk deepfake, while another deepfaker in Hong Kong perpetrated a $25.6M scam complete with multi-person video conferences.

The software Deep-Live-Cam has been in development since late last year, but recent videos uploaded to social media showcasing how it works have gone viral. One video example from X/Twitter user João Fiadeiro showcases how a person can transform into J.D. Vance, Mark Zuckerberg, and George Clooney.

What sets deep-live-cam apart is that it can create this convincing face-mask from just a single photograph. The face-swapping tool combined with voice synthesis tech means digital fakery is more prevalent than ever on the internet and leaves some security experts suggesting a ‘safe word’ as another form of two-factor authentication.

When bad actors can mimic someone’s face and voice, a pre-arranged word or phrase that only the genuine person could know becomes necessary for executives and anyone else in a position of power at a company. So how does the technology work?

Dee-Live-Cam uses several existing software packages combined into a single interface to achieve its goal. First it detects faces from the source video and the target images to dupe. A pre-trained AI model called ‘inswapper’ performs the actual face swap onto the live video feed, while another AI model called ‘GFPGAN’ improves the quality of the face-swap by smoothing the image around the person’s head and ears or correcting artifacts from the face-swap.

The AI model ‘inswapper’ can guess what a person in a photograph’s physical expressions might look like from different angles. That’s because the project has been trained on a dataset containing millions of facial images of individuals captured in various lighting conditions, angles, and multiple expressions with meta-data labeling them with human emotions. The result is a convincing deepfake that can be managed in real-time, posing a threat to Zoom meetings everywhere.