High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): recognize faces when min. faces is set to 1 (#7144)
Michel Heusschenfab19a8583db
diff --git a/server/src/domain/person/person.service.ts b/server/src/domain/person/person.service.tsindex 359084bf21..6fbc409bf8 100644--- a/server/src/domain/person/person.service.ts+++ b/server/src/domain/person/person.service.ts@@ -410,8 +410,8 @@ export class PersonService {});// `matches` also includes the face itself- if (matches.length <= 1) {- this.logger.debug(`Face ${id} has no matches`);+ if (machineLearning.facialRecognition.minFaces > 1 && matches.length <= 1) {+ this.logger.debug(`Face ${id} only matched the face itself, skipping`);return true;}