mirror of
https://github.com/immich-app/immich.git
synced 2025-11-20 08:42:35 +09:00
chore(server): lower default max recognition distance for facial recognition (#7689)
lower default to 0.5
This commit is contained in:
@@ -709,7 +709,7 @@ describe(PersonService.name, () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
enabled: true,
|
enabled: true,
|
||||||
maxDistance: 0.6,
|
maxDistance: 0.5,
|
||||||
minScore: 0.7,
|
minScore: 0.7,
|
||||||
minFaces: 3,
|
minFaces: 3,
|
||||||
modelName: 'buffalo_l',
|
modelName: 'buffalo_l',
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export const defaults = Object.freeze<SystemConfig>({
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
modelName: 'buffalo_l',
|
modelName: 'buffalo_l',
|
||||||
minScore: 0.7,
|
minScore: 0.7,
|
||||||
maxDistance: 0.6,
|
maxDistance: 0.5,
|
||||||
minFaces: 3,
|
minFaces: 3,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ const updatedConfig = Object.freeze<SystemConfig>({
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
modelName: 'buffalo_l',
|
modelName: 'buffalo_l',
|
||||||
minScore: 0.7,
|
minScore: 0.7,
|
||||||
maxDistance: 0.6,
|
maxDistance: 0.5,
|
||||||
minFaces: 3,
|
minFaces: 3,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user