TrueDepth

TrueDepth refers to front-facing cameras in Apple devices that provide depth data in real time along with visual information.

History
TrueDepth cameras were first introduced in the iPhone X in November 2017. They support Portrait Mode photography and Face ID facial recognition in the iPhone X and later, and the 3rd generation iPad Pro and later. They also support motion tracking of the user's face to Animoji and animated Memoji.

Dual cameras on earlier models, such as the iPhone 7 Plus and 8 Plus can be used calculate distance data to similarly support some features, such as Portrait Mode, but this only applies to the rear-facing cameras and does not work with Animoji or Face ID.