---
title: depthDataAccuracy
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avdepthdata/depthdataaccuracy
---

# depthDataAccuracy

The general accuracy of depth data map values.

## Declaration

```swift
var depthDataAccuracy: AVDepthData.Accuracy { get }
```

## Discussion

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

- [isDepthDataFiltered](avfoundation/avdepthdata/isdepthdatafiltered.md)
- [AVDepthData.Accuracy](avfoundation/avdepthdata/accuracy.md)
- [depthDataQuality](avfoundation/avdepthdata/depthdataquality.md)
- [AVDepthData.Quality](avfoundation/avdepthdata/quality.md)
