<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhoto/constantColorCenterWeightedMeanConfidenceLevel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhoto(py)constantColorCenterWeightedMeanConfidenceLevel"
  },
  "title" : "constantColorCenterWeightedMeanConfidenceLevel"
}
-->

# constantColorCenterWeightedMeanConfidenceLevel

A score that summarizes the overall confidence level of a constant color photo.

```
var constantColorCenterWeightedMeanConfidenceLevel: Float { get }
```

## Discussion

A value of `1.0` means full confidence and `0.0` means zero confidence. The default is `0.0.`

In most use cases, such as document scanning, the system considers the central region of the photo more important than its edges. The system weights the confidence level of the central pixels more heavily than pixels on the edges of the photo.

Use [`constantColorConfidenceMap`](/documentation/AVFoundation/AVCapturePhoto/constantColorConfidenceMap) for more use case specific analyses of the confidence level.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)