---
title: depthDataQuality
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avdepthdata/depthdataquality
---

# depthDataQuality

The overall quality of the depth map.

## Declaration

```swift
var depthDataQuality: AVDepthData.Quality { get }
```

## Discussion

Discussion A device typically generates depth data maps by comparing images and calculating disparity. If features are lacking in either input image, it may be difficult to find matching key points, resulting in a depth data map with substantial holes. These holes can be filled with depth data filtering, but still may produce a map of overall poor quality. If a depth data map suffers from insufficient features, the capture system marks it as AVDepthData.Quality.low quality, indicating that the depth map is a poor candidate for rendering high-quality depth effects or reconstructing a 3D scene. A depth map with AVDepthData.Quality.high quality is feature-rich, contains a high level of detail, making it a good candidate for rendering high-quality depth effects or reconstructing a 3D scene.

## See Also

### Evaluating depth data

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