[mob] Fix in clustering without buckets
This commit is contained in:
parent
01914ed3ce
commit
ba107c2d25
1 changed files with 4 additions and 0 deletions
|
@ -420,11 +420,15 @@ class FaceMlService {
|
|||
offset += offsetIncrement;
|
||||
}
|
||||
} else {
|
||||
final int totalFaces = await FaceMLDataDB.instance
|
||||
.getTotalFaceCount(minFaceScore: minFaceScore);
|
||||
|
||||
// Read all the embeddings from the database, in a map from faceID to embedding
|
||||
final clusterStartTime = DateTime.now();
|
||||
final faceIdToEmbedding =
|
||||
await FaceMLDataDB.instance.getFaceEmbeddingMap(
|
||||
minScore: minFaceScore,
|
||||
maxFaces: totalFaces,
|
||||
);
|
||||
final gotFaceEmbeddingsTime = DateTime.now();
|
||||
_logger.info(
|
||||
|
|
Loading…
Add table
Reference in a new issue