Skip to main content

The incredible underlying technology of Snapchat’s selfie lenses

snapchat selfie lens computer vision technology daven mathies
Daven Mathies / Digital Trends
Snapchat’s selfie lenses, more commonly referred to as filters, are fun, ridiculous, and good for a cheap laugh. Thanks to facial recognition, selfie lenses can do things like transmogrify your boring ol’ mug into a cute puppy or shoot rainbows out of your mouth. It’s a novelty that wears off quickly, so Snapchat continually introduces new lenses to keep the experience fresh.

But for a feature that exists as little more than a gimmick, there’s a surprising amount of underlying technology powering it.

As reported by PetaPixel, the facial recognition engine that makes Snapchat lenses possible was acquired by the company when it purchased Looksery, a Ukrainian computer vision startup. Computer vision is a buzzy phrase these days, with wide ranging applications from depositing a check with your phone to, well, facial recognition. But, as the video below from Vox explains, Snapchat’s lenses have to do much more than simply recognize a face; they also have to model it in 3D space, taking into account rotation and even occlusion so that overlaid props and effects can animate correctly in video.

How Snapchat's filters work

While the technology itself isn’t new, the ability to apply it in real-time from a mobile device is. As smartphones continue to gain processing power, Snapchat will be able to introduce increasingly complex lenses — and the company has a lot of money riding on them.

Snapchat purchased Looksery for a staggering $150 million in 2015 and just this year bought another computer vision startup, Seene. Snapchat clearly sees an advertising opportunity with its selfie lenses, and began introducing sponsored lenses last year, for which it apparently charges no small fee, according to TechCrunch.

As impressive as the technology is, the Vox video ends on a note of caution when it comes to facial recognition and privacy. Currently, both government agencies and private companies like Facebook are storing huge databases of faces linked to real names, and there’s nothing to legally prevent them from doing so.

Making yourself look like a pirate in a Snapchat selfie is probably harmless, though.

Daven Mathies
Former Digital Trends Contributor
Daven is a contributing writer to the photography section. He has been with Digital Trends since 2016 and has been writing…
Snapchat may owe you money just for using filters — here’s how to get paid
A person using Snapchat on an iPhone.

Snapchat is currently in a bit of hot water with the state of Illinois following a class-action lawsuit that alleges that the company violated the privacy rights of Illinois app users. While the suit is still ongoing, parent company Snap Inc. could owe residents up to $35 million. That number is subject to change as the lawsuit continues toward its final approval, which is scheduled for November, according to NBC Chicago.

Although it's never a good thing when a tech company violates the rights of its userbase, the silver lining here is that Snapchat users could be getting a check in the mail as long as they fill out the required forms.
What rights did Snapchat violate?

Read more
Snapchat Plus subscribers are getting these four new features today
The Snapchat app store listing on a mobile device with a stylus resting on it.

Snapchat's premium subscription service, Snapchat Plus, has only been around for about a month and a half and it's already getting new features added to it.

On Monday, Snapchat announced that it would be adding four new "exclusive features" to Snapchat Plus. Beginning today, the $4-per-month service includes the following features: Post View Emojis, Priority Story Replies, exclusive Bitmoji backgrounds, and new app icons.

Read more
Snapchat is down right now. Here’s what we know
A person using Snapchat on an iPhone.

If Snapchat isn't working for you right now, you're not the only one.

On Wednesday morning, Snapchat users began reporting on Twitter and Downdetector that Snapchat is down for them. We were also able to confirm with our own devices that Snapchat appears to be having issues.

Read more