Instance Property

faceAngle

The rotation of the face.

Declaration

var faceAngle: Float { get }

Discussion

Rotation is measured counterclockwise in degrees, with zero indicating that a line drawn between the eyes is horizontal relative to the image orientation.

See Also

Locating Faces

var bounds: CGRect

A rectangle indicating the position and dimensions of the face in image coordinates.

var hasFaceAngle: Bool

A Boolean value that indicates whether information about face rotation is available.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software