---
title: constantColorConfidenceMap
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephoto/constantcolorconfidencemap
---

# constantColorConfidenceMap

A pixel buffer where each pixel value indicates how fully the system achieves the constant color effect in the corresponding region of the photo.

## Declaration

```swift
var constantColorConfidenceMap: CVPixelBuffer? { get }
```

## Discussion

Discussion A value of 255 means full confidence and 0 means zero confidence. This property provides a valid value only for constant color photos. The value is nil in all other cases.

## See Also

### Enabling constant color

- [constantColorCenterWeightedMeanConfidenceLevel](avfoundation/avcapturephoto/constantcolorcenterweightedmeanconfidencelevel.md)
- [isConstantColorFallbackPhoto](avfoundation/avcapturephoto/isconstantcolorfallbackphoto.md)
