π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] documentation
laurensprieme70656b5a33d
diff --git a/mobile/lib/services/machine_learning/face_ml/face_clustering/face_clustering_service.dart b/mobile/lib/services/machine_learning/face_ml/face_clustering/face_clustering_service.dartindex b4abd6cbd4..ebb16f2252 100644--- a/mobile/lib/services/machine_learning/face_ml/face_clustering/face_clustering_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/face_clustering/face_clustering_service.dart@@ -362,13 +362,11 @@ ClusteringResult runLinearClustering(Map args) {sortedFaceInfos.addAll(facesWithClusterID);sortedFaceInfos.addAll(facesWithoutClusterID);- // Make sure the first face has a clusterId- final int totalFaces = sortedFaceInfos.length;- int dynamicThresholdCount = 0;-if (sortedFaceInfos.isEmpty) {return ClusteringResult.empty();}+ final int totalFaces = sortedFaceInfos.length;+ int dynamicThresholdCount = 0;// Start actual clustering_logger.info(diff --git a/mobile/lib/services/machine_learning/ml_indexing_isolate.dart b/mobile/lib/services/machine_learning/ml_indexing_isolate.dartindex e11891ae7a..6a0d26b45b 100644--- a/mobile/lib/services/machine_learning/ml_indexing_isolate.dart+++ b/mobile/lib/services/machine_learning/ml_indexing_isolate.dart@@ -46,7 +46,7 @@ class MLIndexingIsolate extends SuperIsolate {static final instance = MLIndexingIsolate._privateConstructor();factory MLIndexingIsolate() => instance;- /// Analyzes the given image data by running the full pipeline for faces, using [_analyzeImageSync] in the isolate.+ /// Analyzes the given image data by running the full pipeline for faces, using [analyzeImageStatic] in the isolate.Future<MLResult?> analyzeImage(FileMLInstruction instruction,String filePath,