Apple has a facial-recognition feature that's exclusive to the iPhone X.

The technology, called Face ID, effectively replaces Touch ID fingerprint scanning. It uses a “TrueDepth camera system", which consists of sensors, cameras, and a dot projector, to create an incredibly detailed 3D map of your face, so every time you look at your phone, it'll conduct a secure authentication check to make not only unlocking but also paying "fast, easy, and intuitive", Apple promised.

Here's how Face ID works.

AppleApple unveils iPhone X with Super Retina Display and Face ID image 1

What is iPhone X?

Last year, Apple pulled the wraps off the iPhone X - or iPhone 10. It is available in 64GB and 256GB options, with a starting price of $999.

Go here to learn more about the device.

AppleWhat Is Apple Face Id And How Does It Work image 2

What is Face ID?

So, the iPhone X, like most iPhones, can be locked. However, with the iPhone X, when you look at it, it'll be able to recognise you and unlock, almost like magic. But it isn't magic. It's Face ID. Apple described this new technology as the "future of how we will unlock our smartphones and protect our sensitive information". To make Face ID possible, Apple packed a lot of new hardware into the iPhone X.

The first area, at the top of the display, is dubbed the TrueDepth camera system. It's comprised of a flood illuminator, infrared camera, front camera, and a dot projector. There's also a proximity sensor, ambient light sensor, and a speaker and microphone all packed inside. Apple also had to create a new AI chip, the A11 Bionic processor, which has a new Neural Engine that takes care of learning your face.

AppleWhat Is Apple Face Id And How Does It Work image 9

How does Face ID work?

TrueDepth camera system

Every time you glance at your iPhone X, the TrueDepth camera system will detect your face with a flood illuminator, even in the dark. An infrared camera will then take an image, and a dot projector will project out over 30,000 invisible infrared dots. This system uses the infrared image and the infrared dots, and then pushes them through neural networks to create a mathematical model of your face.

Neural networks

Your iPhone X will check scans (or mathematical models) of your face against the one you've setup and stored on your device to see if it's a match, and if it is, it will unlock your phone. This all happens in real-time and invisibly. Apple said it worked with thousands of people across the world and took over a billion images, and with that, it developed multiple neural networks to form its Face ID technology.

A11 Bionic neural engine

In order to process all the data needed for Face ID, via machine learning, Apple had to develop the new A11 Bionic neural engine. It's essentially the company's A11 Bionic chip with a built-in neural engine. In other words, it's specialised hardware built for a set of machine learning algorithms. Apple said its hardware and software teams had to collaborate in order to come up with this technology.

The neural engine is a processing system with a dual-core design that can handle 600 billion operations per second and can therefore be used for real-time Face ID recognition. You, of course, don't really need to understand any of this, because as the user, Apple has ensured that Face ID is just super fun and easy to use. When you set up Face ID, for instance, you just follow the on-screen prompts.

AppleWhat Is Apple Face Id And How Does It Work image 8

How do you set up Face ID?

Here's how to set up Face ID (if you skip the enroll process when setting up your iPhone X):

  1. Tap Settings
  2. Tap Face ID & Passcode and enter your passcode
  3. Tap Enroll Face (under Face ID)
  4. Tap Get Started and follow the on-screen prompts
  5. You will be asked to position your face within a frame
  6. Move your head around so it can be properly scanned

When setting up Face ID, Apple said you just have to move your heard around slowly so that Face ID can fully recognise your face. That's it. You just do it once when you set it up - much like how you only have to set up Touch ID once on other iPhone models. Face ID will learn your face, so if you change your hair style or put on sunglasses or grow a beard, it should be able to adapt to you and just work.

It will work both during the day and night, too.

AppleWhat Is Apple Face Id And How Does It Work image 6

Does Face ID work for payments?

Yes, aside from unlocking your iPhone X, Face ID can be used to pay for things via Apple Pay. You just have double-tap the button on the side, then look at your iPhone X to authenticate, and hold it near the contactless payment terminal. Go here to learn more about Apple Pay.

Does Face ID work with apps?

Yes, Face ID also works with third-party apps, such as Mint, One Password, and E-trade.

AppleWhat Is Apple Face Id And How Does It Work image 5

Is Face ID secure?

Apple said it worked hard to ensure Face ID can't be spoofed by things, like photographs. It even worked with professional mask-makers and make-up artists in Hollywood to train its neural networks and thus protect Face ID against those sort of bypass attempts. Your face data is also protected by a secure enclave in the A11 Bionic chip, and all the processing is done on the chip.

That means your face data is not sent to a server. Face ID also requires your attention to unlock, so if your eyes are closed, or if you're looking away, it's not going to unlock. According to Apple, the chances of someone being able to unlock your iPhone X using Face ID is one in one million - an improvement over Touch ID, which Apple claimed has a false-positive rating of one in 50,000.

That statistic is lowered if you have a twin, so you will really need to set up a passcode in that instance.

AppleWhat Is Apple Face Id And How Does It Work image 4

What if someone steals your iPhone X?

According to Apple's software engineering chief, Craig Federighi - who notably replied to an email from a developer, Keith Krimbel, who asked the company what would stop a thief from taking someone's iPhone X, then pointing it at their face, and running off with the unlocked device - Apple made sure there were two mitigations in place: "If you don't stare at the phone, it won't unlock," he said.

"Also, if you grip the buttons on both sides of the phone when [you] hand it over, it will temporarily disable Face ID," Federighi explained. So, squeezing the buttons on both sides of iPhone X disables Face ID.

What else do you need to know?

Face ID also works with emoji! Apple developed a new type of emoji called Animoji. These are animated emoji. You control these with your face, as they actually match the motions of your face. To create and share Animoji, use Apple's Messages app. At launch, there are over a dozen different Animoji you can make, including the poop emoji. Go here to learn more about animoji.