Instance Property

yawAngle

The yaw angle of the face specified in degrees.

Declaration

@property(readonly) CGFloat yawAngle;

Discussion

The yaw angle represents the rotation of the face around the vertical axis. A value of 0.0 yields a face that is looking directly at the camera, whereas a yaw angle of 90 degrees yields a face whose eye line is perpendicular to that of the camera.

You must check the value of the hasYawAngle property before accessing this property. If the value in the hasYawAngle 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.

rollAngle

The roll angle of the face specified in degrees.

hasYawAngle

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