---
title: confidence
framework: vision
role: symbol
role_heading: Instance Property
path: vision/smudgeobservation/confidence
---

# confidence

The level of confidence in the observation’s accuracy of smudge detection on a lens.

## Declaration

```swift
let confidence: Float
```

## Discussion

Discussion The framework normalizes this value to [0, 1], where 1 represents the most confident. When results come from a CoreMLRequest, the relevant Core ML models forward the confidence values.

## See Also

### Inspecting an observation

- [description](vision/smudgeobservation/description.md)
- [RequestDescriptor](vision/requestdescriptor.md)
