---
title: quality
framework: photosui
role: symbol
role_heading: Instance Property
path: photosui/phprojectregionofinterest/quality
---

# quality

The region’s quality.

## Declaration

```swift
var quality: Double { get }
```

## Discussion

Discussion The quality score represents the quality of the region of interest in the individual asset, based on factors like sharpness, visibility, and prominence in the photo. Values range from 0 to 1, with a default of 0.5. Different regions of interest with the same identifier may have different quality values. If a project must choose between multiple assets containing the same region of interest, use the quality metric to choose the best representative.

## See Also

### Determining Region Properties

- [rect](photosui/phprojectregionofinterest/rect.md)
- [identifier](photosui/phprojectregionofinterest/identifier-swift.property.md)
- [weight](photosui/phprojectregionofinterest/weight.md)
