---
title: contrastPivot
framework: vision
role: symbol
role_heading: Instance Property
path: vision/detectcontoursrequest/contrastpivot
---

# contrastPivot

The pixel value to use as a pivot for the contrast.

## Declaration

```swift
var contrastPivot: Float?
```

## Discussion

Discussion Numeric values range from 0.0 to 1.0. You can also specify nil to have the framework automatically detect the value according to image intensity. The default value is 0.5, which indicates the pixel center.

## See Also

### Configuring a request

- [contrastAdjustment](vision/detectcontoursrequest/contrastadjustment.md)
- [detectsDarkOnLight](vision/detectcontoursrequest/detectsdarkonlight.md)
- [maximumImageDimension](vision/detectcontoursrequest/maximumimagedimension.md)
