---
title: AVMetadataFaceObject
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avmetadatafaceobject
---

# AVMetadataFaceObject

Face information detected by a metadata capture output.

## Declaration

```swift
class AVMetadataFaceObject
```

## Mentioned in

Configuring camera capture to collect a Portrait Effects matte

## Overview

Overview The AVMetadataFaceObject class is a concrete subclass of AVMetadataObject that defines the features of a single detected face. You can retrieve instances of this class from the output of an AVCaptureMetadataOutput object on devices that support face detection.

## Topics

### Getting the face identifier

- [faceID](avfoundation/avmetadatafaceobject/faceid.md)

### Accessing the face detection data

- [hasRollAngle](avfoundation/avmetadatafaceobject/hasrollangle.md)
- [rollAngle](avfoundation/avmetadatafaceobject/rollangle.md)
- [hasYawAngle](avfoundation/avmetadatafaceobject/hasyawangle.md)
- [yawAngle](avfoundation/avmetadatafaceobject/yawangle.md)

### Constants

- [Face metadata type](avfoundation/face-metadata-type.md)

## Relationships

### Inherits From

- [AVMetadataObject](avfoundation/avmetadataobject.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
