---
title: entityID
framework: Media Intelligence
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: mediaintelligence/facegroupanalyzer/face/entityid
---

# entityID

An identifier for the entity this face belongs to.

## Declaration

```swift
let entityID: FaceGroupAnalyzer.Entity.ID?
```

## Mentioned in

Detecting and grouping faces in images

## Discussion

Discussion This value is nil until you call update(subprogress:). After clustering runs, every face receives an entity identifier that groups it with other faces of the same person.

## See Also

### Identifying a face

- [id](mediaintelligence/facegroupanalyzer/face/id-swift.property.md)
- [assetID](mediaintelligence/facegroupanalyzer/face/assetid.md)
- [FaceGroupAnalyzer.Face.ID](mediaintelligence/facegroupanalyzer/face/id-swift.struct.md)
