Notes
This commit is contained in:
@@ -130,6 +130,8 @@ export const clusterFaces = async (
|
||||
// The resultant clusters.
|
||||
// TODO-Cluster Later on, instead of starting from a blank slate, this will
|
||||
// be list of existing clusters we fetch from remote.
|
||||
// - fetchRemoteClusterFeedback
|
||||
// [..local, ..remote]
|
||||
let clusters: FaceCluster[] = [];
|
||||
|
||||
// Process the faces in batches, but keep an overlap between batches to
|
||||
@@ -188,6 +190,10 @@ export const clusterFaces = async (
|
||||
`Generated ${sortedClusters.length} clusters from ${faces.length} faces (${clusteredFaceCount} clustered ${faces.length - clusteredFaceCount} unclustered) (${timeTakenMs} ms)`,
|
||||
);
|
||||
|
||||
// reconcileClusters
|
||||
// Save local
|
||||
// updated map -> remote - Put
|
||||
|
||||
return { clusters: sortedClusters, people };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user