π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add low quality face condition
Manav Rathif1185fcadef1
diff --git a/web/packages/new/photos/services/ml/cluster.ts b/web/packages/new/photos/services/ml/cluster.tsindex 1aa665666a..fe77f7d6e8 100644--- a/web/packages/new/photos/services/ml/cluster.ts+++ b/web/packages/new/photos/services/ml/cluster.ts@@ -474,3 +474,12 @@ const clusterBatchLinear = (return state;};++/**+ * Return true if the given face is above the minimum inclusion thresholds, but+ * is otherwise heuristically determined to be possibly spurious face detection.+ *+ * We apply a higher threshold when clustering such faces.+ */+const isBadFace = (face: Face) =>+ face.blur < 50 || (face.blur < 200 && face.blur < 0.85) || false; //face.isSideways,