Contents

depthDataAccuracy

The general accuracy of depth data map values.

Declaration

var depthDataAccuracy: AVDepthData.Accuracy { get }

Discussion

The accuracy of a depth data map is highly dependent on the camera calibration data used to generate it. If the camera’s focal length cannot be precisely determined at the time of capture, a scaling error in the z (depth) plane is introduced. If the camera’s optical center can’t be precisely determined at capture time, a principal point error is introduced, leading to an offset error in the disparity estimate. AVDepthData.Accuracy constants report the accuracy of a map’s values with respect to its reported units.

See Also

Evaluating depth data