---
title: faceID
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmetadatafaceobject/faceid
---

# faceID

The unique ID for this face metadata object.

## Declaration

```swift
var faceID: Int { get }
```

## Discussion

Discussion Each time a face enters the picture, it is assigned a new unique identifier, which you can use to reference the face in your code. Face IDs are not reused, and the same face leaving and entering the picture again is assigned a new identifier.
