<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMetadataFaceObject",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMetadataFaceObject"
  },
  "title" : "AVMetadataFaceObject"
}
-->

# AVMetadataFaceObject

Face information detected by a metadata capture output.

```
class AVMetadataFaceObject
```

## Overview

The `AVMetadataFaceObject` class is a concrete subclass of [`AVMetadataObject`](/documentation/AVFoundation/AVMetadataObject) that defines the features of a single detected face. You can retrieve instances of this class from the output of an [`AVCaptureMetadataOutput`](/documentation/AVFoundation/AVCaptureMetadataOutput) object on devices that support face detection.

## Topics

### Getting the face identifier

[`faceID`](/documentation/AVFoundation/AVMetadataFaceObject/faceID)

The unique ID for this face metadata object.

### Accessing the face detection data

[`hasRollAngle`](/documentation/AVFoundation/AVMetadataFaceObject/hasRollAngle)

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

[`rollAngle`](/documentation/AVFoundation/AVMetadataFaceObject/rollAngle)

The roll angle of the face specified in degrees.

[`hasYawAngle`](/documentation/AVFoundation/AVMetadataFaceObject/hasYawAngle)

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

[`yawAngle`](/documentation/AVFoundation/AVMetadataFaceObject/yawAngle)

The yaw angle of the face specified in degrees.

### Constants

[Face metadata type](/documentation/AVFoundation/face-metadata-type)

A metadata type string for face detection metadata.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)