<!--
{
  "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/Face",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence17FaceGroupAnalyzerC0C0V"
  },
  "title" : "FaceGroupAnalyzer.Face"
}
-->

# FaceGroupAnalyzer.Face

A face detected in an image asset.

```
struct Face
```

## Overview

This type represents a single face that [`FaceGroupAnalyzer`](/documentation/MediaIntelligence/FaceGroupAnalyzer)
detects in an image. It records the face’s
location within the image, the identifier of the image it came
from, and after [`update(subprogress:)`](/documentation/MediaIntelligence/FaceGroupAnalyzer/update(subprogress:)) runs,
the entity the face belongs to.

The [`bounds`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Face/bounds) rectangle uses normalized
coordinates in the range `0.0` to `1.0` along both axes, with the
origin at the top-left corner of the image.

## Topics

### Identifying a face

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

A unique identifier for the face.

[`let entityID: FaceGroupAnalyzer.Entity.ID?`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Face/entityID)

An identifier for the entity this face belongs to.

[`let assetID: MediaIntelligenceImageAsset.ID`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Face/assetID)

An identifier for the image asset that contains this face.

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

A unique identifier for a detected face.

### Locating a face

[`let bounds: CGRect`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Face/bounds)

A normalized rectangle describing the location of the face within its source image.

## Relationships

### Conforms To

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

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

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

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

---

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)