update(subprogress:)
Clusters faces into entities and updates their assignments.
Declaration
nonisolated(nonsending) final func update(subprogress: consuming Subprogress? = nil) async throwsParameters
- subprogress:
An optional subprogress object for reporting progress to a parent
Progress.
Mentioned in
Discussion
Call this method after ingesting assets with insertOrUpdateAssets(_:) to run the face clustering algorithm. When this method completes, every face has a non-nil entityID and state returns FaceGroupAnalyzer.State.ready.
If the analyzer is already up to date, this method returns immediately without performing any clustering.