Contents

fetchFaces(in:)

Returns the faces from the specified assets.

Declaration

final func fetchFaces(in assetIDs: [MediaIntelligenceImageAsset.ID]) throws -> some AsyncSequence<(assetID: MediaIntelligenceImageAsset.ID, faces: Array<FaceGroupAnalyzer.Face>), any Error>

Parameters

  • assetIDs:

    The asset identifiers to look up.

Return Value

An async sequence of (assetID, faces) pairs.

See Also

Fetching and identifying faces