I want to get depth map that when camera zoom in or zoom out or switch to telephoto.
I have got the depth map using ARkit that provide depth map that the colored RGB image from the wide-range camera and the depth ratings from the LiDAR scanner are fused together.
Now I want to switch camera to telephoto and hope to get new depth map.
Hello @XuJianfeng,
You can stream depth data using AVCaptureDepthDataOutput. (You would also have an AVCaptureVideoDataOutput for the color data).
Importantly, to get depth, while also getting color data from the telephoto camera, you would need to use a virtual device that supports depth capture (and also includes the telephoto lens). That would be either the builtInDualCamera, or the builtInTripleCamera.
supportedVideoZoomRangesForDepthDataDelivery is also an important property to consider here.
-- Greg