Contents

contrastAdjustment

The amount by which to adjust the image contrast.

Declaration

var contrastAdjustment: Float

Discussion

Contour detection works best with high-contrast images. The default value of this property is 2.0, which doubles the image contrast to achieve the most accurate results.

This property supports a value range from 0.0 to 3.0.

See Also

Configuring a request