Facial recognition systems are all the rage among government agencies around the world, as they seek to automate services and keep tabs on their citizens. If there’s a picture of you somewhere, you could potentially be identified in photos and videos from public camera feeds. Now, Facebook has devised a way to thwart this technology.

Its face de-identification tech, developed by three AI researchers who work with the company, modifies your face slightly in video content, so that facial recognition systems can’t match what they see in the footage with images of you in their databases.

Facebook's face de-identification technology in action
Credit: Oran Gafni / YouTube
Facebook’s face de-identification technology in action (click to watch video on YouTube)

Let’s go bowling

Join us on Dec. 11 for the ultimate team outing

YES

You can see this in action in this video (screenshot above), in which certain details are tweaked, such as the shape of a person’s mouth, or the size of their eyes. Facebook says this can be used with pre-recorded content, as well as with live video.

This technology could allow for more ethical use of video footage of people for training AI systems, which typically require several examples to learn how to emulate the content they’re fed. By making people’s faces impossible to recognize, these AI systems can be trained without infringing on the test subjects’ privacy.

I imagine this might soon become a standard requirement for government agencies and companies that capture footage of people, whether for security or other purposes. For example, since the state of California banned law enforcement agencies from using facial recognition tech recently, it could mandate that all footage of civilians be processed using a system that incorporates face de-identification tech in order to protect their privacy.

VentureBeat succinctly explained how this de-identification method works:

…the AI uses an encoder-decoder architecture to generate both a mask and an image. During training, the person’s face is distorted then fed into the network. Then the system generates distorted and undistorted images of a person’s face for output that can be embedded into video.

The outlet also noted that Facebook has no plans to use it in any of its own products. The social network uses facial recognition to identify your friends in uploaded photos for easier tagging, and also to alert you when you’re in someone else’s pictures. The company turned facial recognition off by default last month, which is a small step towards respecting its users’ privacy a bit more.

Find out more about Facebook‘s face de-identification AI in this research paper (PDF).

Read next: Oops — Adobe leaves 7.5 million Creative Cloud accounts exposed