weight

weight

weight Instance Property of PHProjectRegionOfInterest The face region’s weight.

var weight: Double { get }

Discussion

The weight of a region of interest represents the pervasiveness of the face across the project as a whole. All regions of interest with the same identifier share the same weight. The values range between 0 and 1. The default value is 0.5.

[Four photos containing five different human faces, each showing up at different frequencies]

For projects focused on animation or transition between assets, focus on the regions with the highest weight to ensure that your presentation features areas of greatest interest to the user.