Contents

minimumAspectRatio

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

Declaration

var minimumAspectRatio: 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