<!--
{
  "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/identifyFaces(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence17FaceGroupAnalyzerC13identifyFaces2inQrSayAA0aB10ImageAssetVG_tYaKF"
  },
  "title" : "identifyFaces(in:)"
}
-->

# identifyFaces(in:)

Detects and identifies faces without modifying the analyzer’s data.

```
final nonisolated(nonsending) func identifyFaces(in assets: [MediaIntelligenceImageAsset]) async throws -> some AsyncSequence<(assetID: MediaIntelligenceImageAsset.ID, faces: Array<FaceGroupAnalyzer.Face>), any Error>
```

## Parameters

`assets`

The image assets to analyze.

## Return Value

An async sequence of `(assetID, faces)` pairs.

## Discussion

Use this method to recognize people in new images against the
existing gallery without storing any face data. Each returned face
has an [`entityID`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Face/entityID) if the framework matched
it to a known entity, or `nil` if no match was found.

---

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)