<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/DetectRectanglesRequest/minimumConfidence",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision23DetectRectanglesRequestV17minimumConfidenceSfvp"
  },
  "title" : "minimumConfidence"
}
-->

# minimumConfidence

The minimum acceptable confidence level for detected rectangles.

```
var minimumConfidence: Float
```

## Discussion

Vision won’t return rectangles with a confidence score lower than the specified minimum.
The property’s default value is `0.0`, but you can set it to any value in the range `[0.0, 1.0]`.
A value of `0.0` represents no confidence, while `1.0` represents full confidence.

---

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)