π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Shorten
Manav Rathiaa7644874767
diff --git a/web/apps/photos/src/services/face/f-index.ts b/web/apps/photos/src/services/face/f-index.tsindex 23c37a6789..fc7681b4e4 100644--- a/web/apps/photos/src/services/face/f-index.ts+++ b/web/apps/photos/src/services/face/f-index.ts@@ -291,6 +291,7 @@ const removeDuplicateDetections = (withinDistance: number,) => {detections.sort((a, b) => b.probability - a.probability);+const isSelected = new Map<number, boolean>();for (let i = 0; i < detections.length; i++) {if (!isSelected.get(i)) continue;@@ -305,6 +306,7 @@ const removeDuplicateDetections = ([centeri.x, centeri.y],[centerj.x, centerj.y],);+if (dist <= withinDistance) isSelected.set(j, false);}}