The Sony Image Sensor used on the Pixel 6 Pro (and not the Pixel 6) has a technology that would allow the phone to create depth maps of Pixel users' faces.