The true depth camera is a technology developed by Apple and is located on the front of certain Apple devices, including the iPhone X, XR, XS, 11, and 12, as well as the iPad Pro. It is a key component of the Face ID facial recognition system, which allows users to securely unlock their device and make purchases using facial recognition.

The true depth camera is a complex piece of technology that combines several different components into a single system. At its core, it is a front-facing camera that is capable of capturing detailed images of the user’s face. However, it also includes a number of other sensors and components that enable it to perform a range of additional functions.
One of the key components of the true depth camera is a dot projector, which projects thousands of tiny infrared dots onto the user’s face. These dots are then read by a sensor on the camera, which uses them to create a detailed 3D map of the user’s face. This map is then compared against a stored version of the user’s face to determine whether or not the device should be unlocked.
In addition to the dot projector and sensor, the true depth camera also includes an infrared camera and flood illuminator. The infrared camera is used to capture detailed images of the user’s face, while the flood illuminator provides additional infrared light to ensure that the camera can see clearly even in low-light conditions.
The true depth camera also includes a number of software features that work together with the hardware components to enable a range of advanced features. For example, the camera is able to detect the user’s attention and adjust the display brightness accordingly, and it is also able to track the movement of the user’s head and adjust the perspective of certain apps and games accordingly.
Overall, the true depth camera is a powerful and innovative technology that has enabled a range of new features and capabilities on Apple devices. Its combination of advanced hardware and software components allows it to perform a range of complex functions, including facial recognition, attention detection, and head tracking. As Apple continues to develop and refine this technology, we can expect to see even more advanced features and capabilities on future devices.