Access both RGB images from builtindualcamera

I am trying to use stereoscopic distance measurements but the AVDepthdata isn’t as useful because it’s full of holes. I have reference markers that I would like to use to compute the distance myself. Is it possible to access both RGB images from the builtindualcamera? I don’t need the depth but would need the calibration data for the dual camera.

thanks

Also to be clear, I only need the distance at the markers.

Hello,

Is it possible to access both RGB images from the builtindualcamera?

This is what we call "Synchronized Streaming", I recommend that you watch this (timestamped to the relevant portion) WWDC video: https://developer.apple.com/videos/play/wwdc2019/249/?time=1777

Then, if you have any specific follow-up questions, I recommend that you request technical support.

Accepted Answer

I should also note, you can request a filtered depth map which won't have holes, that may be sufficient for what you are trying to do: https://developer.apple.com/documentation/avfoundation/avdepthdata/2881224-isdepthdatafiltered

Access both RGB images from builtindualcamera
 
 
Q