This is how iPhone X Face ID work - look at those 30,000 infrared dots visible with IR Video
Click here for the facebook video
With Touch ID, Apple's fingerprint technology, the chance that a random person could unlock your phone with his or her fingerprint is 1 in 50,000, Apple said; with Face ID, it’s 1 in 1 million.
Both systems store biometric data locally on the device rather than on a centralized server that could be targeted by hackers. That makes biometrics attractive from a privacy and security standpoint, Avetisov said.
But Face ID takes facial recognition a step further. It works by relying on an advanced suite of tech — including an infrared camera, flood illuminator, front camera, dot projector, proximity sensor and ambient light sensor — packed into the front of the new iPhone X
To set it up, hold your iPhone X in front of your face and move your head around slowly. That becomes the stored version on your phone.
To use it, glance at the front-facing camera. The dot projector beams out more than 30,000 invisible infrared dots, and the infrared camera captures an image.
Apple uses the infrared image and dot pattern and pushes them through neural networks — a kind of machine learning model — to create a mathematical model of your face, and then checks that model against the stored image captured during the setup phase. Once it detects a match, the phone unlocks; Face ID will also work with Apple Pay and third-party apps.
Face ID is sophisticated enough to work in the dark, and to learn your face under different circumstances — so go ahead and wear those funky glasses or grow that hipster beard.
Click here for the facebook video