Capture Dual Camera Depth with ARKit session

Hello all, I am trying to achieve the following: I have an app that lets the user record positional data of the device via an ARKit session and would like to also add a way to record depth information using the dual camera setup as seen in the Taking pictures for photogrammetry example app.

The reason for this is that the depth data provided by ARKits .sceneDepth is only 256x192 pixels in resolution, which is not really usable for compositing. Also, it only exports as 8bit png or jpeg and the depth information from the dual camera setup seems to be 32bit TIF.

The actual question I guess is if it is possible to add a (dual camera) depth configuration to an ARKit session or if it is possible to get a higher resolution depth map from ARKit (for rear camera experience) and export it as 32bit, as I haven't been able to figure that out.

Any help would be greatly appreciated! : )

Capture Dual Camera Depth with ARKit session
 
 
Q