[mob][photos] Extra check in sorting suggestions
This commit is contained in:
parent
c80208e754
commit
759c8aa404
1 changed files with 5 additions and 0 deletions
|
@ -913,6 +913,11 @@ class ClusterFeedbackService {
|
|||
|
||||
// Sort the suggestions based on the distance to the person
|
||||
for (final suggestion in suggestions) {
|
||||
if (onlySortBigSuggestions) {
|
||||
if (suggestion.filesInCluster.length <= 8) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
final clusterID = suggestion.clusterIDToMerge;
|
||||
final faceIDs = suggestion.faceIDsInCluster;
|
||||
final faceIdToEmbeddingMap = await faceMlDb.getFaceEmbeddingMapForFaces(
|
||||
|
|
Loading…
Add table
Reference in a new issue