<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaIntelligence",
  "identifier" : "/documentation/MediaIntelligence/FaceGroupAnalyzer/Entity",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence17FaceGroupAnalyzerC6EntityV"
  },
  "title" : "FaceGroupAnalyzer.Entity"
}
-->

# FaceGroupAnalyzer.Entity

A cluster of faces that belong to the same person.

```
struct Entity
```

## Overview

This type represents a distinct person as
identified by the framework’s clustering algorithm. After you call
[`update(subprogress:)`](/documentation/MediaIntelligence/FaceGroupAnalyzer/update(subprogress:)), each detected face
receives a [`entityID`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Face/entityID) that associates it
with an entity.

Use [`fetchFaces(for:)`](/documentation/MediaIntelligence/FaceGroupAnalyzer/fetchFaces(for:)) to retrieve all faces
that belong to a particular entity, or
[`fetchAssetIDs(for:)`](/documentation/MediaIntelligence/FaceGroupAnalyzer/fetchAssetIDs(for:)) to find the images in
which a person appears.

## Topics

### Identifying an entity

[`let id: FaceGroupAnalyzer.Entity.ID`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Entity/id-swift.property)

A unique identifier for the entity.

[`struct ID`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Entity/ID-swift.struct)

A type that uniquely identifies an entity.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)