# Face ID Technology

How the TrueDepth camera in an iPhone's notch projects 30,000 infrared dots to map your face in 3D and unlock the phone\.

By Numa

Topic: Computing, AI &amp; Electronics

[Open the interactive Jig](https://ask.jig.com/j/NjrBeufJbGrb)

## Transcript

### 1. Your face is the key

Face ID unlocks an iPhone just by looking at it\. Hidden in the dark strip at the top of the screen is a tiny 3D scanner\. Let's open it up and watch it work\.

Drag empty space to turn the scene\. Use the arrows below to move through the steps\.

### 2. Inside the notch

This row of parts is called the TrueDepth camera\. Three of them work together for Face ID: a flood illuminator, a dot projector and an infrared camera\. The others take selfies, sense your ear and play sound\.

Click a part to spin it\. Parts are shown enlarged; the real ones are a few millimetres across\.

### 3. A flash you cannot see

First the flood illuminator bathes your face in infrared light\. Infrared is a colour our eyes cannot see, so it works even in the dark\. The infrared camera takes a quick picture to check that a face is there\.

We show the invisible infrared light as a soft red glow\.

### 4. 30,000 invisible dots

Next the dot projector shines a tiny laser through a special patterned lens\. The lens splits one beam into more than 30,000 dots that spread across your face\.

The real dots are invisible\. Here we show a few thousand of them\.

### 5. Bumps bend the pattern

The infrared camera sits a little to one side of the projector\. Dots that land on your nose shift differently from dots on your cheeks, because they are closer\. From those small shifts, the phone works out how far away every dot is\.

Warm colours are closer to the phone, cool colours are farther away\.

### 6. A secret map, not a photo

The phone turns the dots into a 3D map of your face, then into a string of numbers\. A locked part of the main chip, called the Secure Enclave, compares those numbers with the ones saved when you set up Face ID\.

Your face data stays encrypted on the phone\. It is never sent to Apple or backed up\.

### 7. Look, and it opens

Face ID also checks that your eyes are open and looking at the screen\. That way the phone does not unlock while you are asleep or looking away\. When the map and the look both match, the lock opens\.

### 8. Clever and careful

The chance that a random stranger's face could unlock your phone is less than one in a million\. A flat photo cannot fool it, because a photo has no depth\. Twins, close siblings and children under 13 can look alike, so a passcode is always there too\.

Face ID first arrived on the iPhone X in November 2017\.
