Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Update empty faceID

Neeraj Gupta2e82c96b2abd
diff --git a/mobile/lib/face/model/face.dart b/mobile/lib/face/model/face.dart
index ee14c2af78..99f07cb2dc 100644
--- a/mobile/lib/face/model/face.dart
+++ b/mobile/lib/face/model/face.dart
@@ -18,11 +18,12 @@ class Face {
Detection detection;
final double score;
final double blur;
-
+
///#region Local DB fields
// This is not stored on the server, using it for local DB row
FileInfo? fileInfo;
final int fileID;
+
///#endregion
bool get isBlurry => blur < kLaplacianHardThreshold;
@@ -43,7 +44,7 @@ class Face {
factory Face.empty(int fileID, {bool error = false}) {
return Face(
- "$fileID-0",
+ "${fileID}_0_0_0_0",
fileID,
<double>[],
error ? -1.0 : 0.0,