Contents

maximumAspectRatio

A float specifying the maximum aspect ratio of the rectangle to detect, defined as the shorter dimension over the longer dimension.

Declaration

var maximumAspectRatio: VNAspectRatio { get set }

Discussion

The value should range from 0.0 to 1.0, inclusive. The default value is 0.5.

See Also

Configuring Detection