The spot at the top of the iPhone's screen used to be a thick bezel, then the notch, and now it's the Dynamic Island. Since the iPhone X, it has held a set of parts that really has one job: unlocking the phone. Next to the regular front camera there is a dot projector, a flood illuminator and an infrared camera. Together Apple calls them the TrueDepth camera.
The video's author shows that this isn't overkill. Every part of Face ID answers a different way someone could try to get into your phone.
A photo of your face isn't enough
The simplest idea is to show the phone a photo of its owner, and there are usually plenty of those online. A regular camera would fall for it, because it only records colors and brightness. It doesn't know how far away each point is, so a sharp photo of a face looks almost exactly like a real one.
Face ID measures distance instead. It uses infrared, light your eyes can't see but a camera can. First the flood illuminator lights up your face with invisible light, so the infrared camera gets a clear picture even in a completely dark bedroom. Then the dot projector casts a pattern of more than 30,000 invisible dots onto your face, and the camera takes a second picture showing where each dot landed.
How dots become a map of your face
The projector and the camera sit a small, fixed distance apart. The phone knows where each dot would appear in the picture if it fell on a flat wall. A dot on the tip of your nose is closer than that wall, so in the picture it shifts to the side. A dot on your cheek is farther away, so it shifts less.
Basic geometry, called triangulation, turns each shift into a distance. Put all of them together and you get a 3D depth map of your face. A printed photo produces a flat map with no nose sticking out, so Face ID rejects it.
A sibling is the harder case
A depth map alone can't tell two similar faces apart. That's the job of a neural network, which learns your face during setup, when the phone asks you to slowly move your head in a circle twice. From the images taken at different angles, it builds a mathematical description of your face. Every time you unlock the phone, it creates a new description and compares it with the saved one.
According to Apple, the chance that a random person's face unlocks your phone is less than 1 in 1,000,000. Apple is upfront that the odds are higher for twins and look-alike siblings, and for children under 13.
Your face data stays on the phone
The last idea is to hack the software and copy the face data. That doesn't work either, because it's held by the Secure Enclave: a separate small processor inside the main chip, with its own memory. iOS can't look into that memory; it can only send a request and wait for an answer. Face ID data is encrypted with a key only the Secure Enclave has, never leaves the device and isn't included in iCloud backups.
According to the video's author, the Secure Enclave is also the part that actually unlocks the phone: after a match, it releases the keys to your encrypted files. Apps, such as banking apps, get even less than iOS. Apple says they're only told whether authentication succeeded and never see your face.
That's why Face ID seems overengineered for unlocking a screen. Each layer closes one way someone could get into your phone.




