π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Face: Ignore embeddings without image dims & bad landmarks
Neeraj Gupta4a2b5fe27dec
diff --git a/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart b/mobile/lib/services/machine_learning/face_ml/face_ml_service.dartindex b78f246f62..afbb5b3eee 100644--- a/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart@@ -80,7 +80,7 @@ class FaceMlService {bool isInitialized = false;bool isImageIndexRunning = false;- int kParallelism = 100;+ int kParallelism = 15;Future<void> init({bool initializeImageMlIsolate = false}) async {return _initLock.synchronized(() async {@@ -613,9 +613,6 @@ class FaceMlService {_logger.info("indexAllImages() analyzed $fileAnalyzedCount images, cooldown for 1 minute",);- await Future.delayed(const Duration(minutes: 1), () {- _logger.info("indexAllImages() cooldown finished");- });}}@@ -699,6 +696,10 @@ class FaceMlService {faceRes.detection.score,detection,faceRes.blurValue,+ fileInfo: FileInfo(+ imageHeight: result.faceDetectionImageSize!.height.truncate(),+ imageWidth: result.faceDetectionImageSize!.width.truncate(),+ ),),);}