Contents

maximumObservations

An integer specifying the maximum number of rectangles Vision returns.

Declaration

var maximumObservations: Int { get set }

Discussion

The default value is 1.

Setting this property to 0 allows Vision algorithms to return an unlimited number of observations.

See Also

Configuring Detection