---
title: confidence
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlobjectdetector/objectannotation/confidence
---

# confidence

The object detector’s confidence score for its prediction’s accuracy.

## Declaration

```swift
var confidence: Double
```

## Discussion

Discussion The confidence range is [0.0, 1.0], where 1.0 is the highest possible confidence score.

## See Also

### Inspecting an annotation

- [label](createml/mlobjectdetector/objectannotation/label.md)
- [boundingBox](createml/mlobjectdetector/objectannotation/boundingbox.md)
