Class

AVMetadata​Face​Object

The AVMetadata​Face​Object class is a concrete subclass of AVMetadata​Object that defines the features of a single detected face. You can retrieve instances of this class from the output of an AVCapture​Metadata​Output object on devices that support face detection.

Symbols

Getting the Face Identifier

var face​ID:​ Int

The unique ID for this face metadata object.

Accessing the Face Detection Data

var has​Roll​Angle:​ Bool

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

var roll​Angle:​ CGFloat

The roll angle of the face specified in degrees.

var has​Yaw​Angle:​ Bool

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

var yaw​Angle:​ CGFloat

The yaw angle of the face specified in degrees.

Constants

Face Metadata Type

A metadata type string for face detection metadata.

Relationships

Inherits From

Conforms To