Instance Property

salientObjects

A collection of objects describing the distinct areas of the saliency heat map.

Declaration

var salientObjects: [VNRectangleObservation]? { get }

Discussion

The objects in this array don't follow any specific ordering. It's up to your app to iterate across the observations and apply desired ordering.

Requesting this array lazily computes the bounds of salient objects within the image.