Finn Jaeger, head of VFX at Replayboys, shared a screenshot displaying multiple depth maps produced by his iPhone for a project called HEIC Shenanigans.
The project includes scripts to extract images and metadata from HEIC containers and convert them into EXR Files, currently comprising 374 lines of Python.
iPhones use various methods, including LIDAR, to capture depth data for photos. Recent models capture depth maps not only for Portrait photos but also for standard photos.