Instance Property

rollAngle

The roll angle of the face specified in degrees.

Declaration

@property(readonly) CGFloat rollAngle;

Discussion

The roll angle represents the side-to-side tilt of the face relative to the metadata’s bounding rectangle. A value of 0.0 yields a face that is level relative to the picture, whereas a value of 90 yields a face that is perpendicular relative to the picture.

You must check the value of the hasRollAngle property before accessing this property. If the value in the hasRollAngle property is NO, reading the value in this property raises an exception.

See Also

Accessing the Face Detection Data

hasRollAngle

A Boolean value indicating whether there is a valid roll angle associated with the face.

hasYawAngle

A Boolean value indicating whether there is a valid yaw angle associated with the face.

yawAngle

The yaw angle of the face specified in degrees.