Contents

FaceGroupAnalyzer.Entity

A cluster of faces that belong to the same person.

Declaration

struct Entity

Overview

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

Use fetchFaces(for:) to retrieve all faces that belong to a particular entity, or fetchAssetIDs(for:) to find the images in which a person appears.

Topics

Identifying an entity

See Also

Retrieving faces and entities