Skip to content

Commit

Permalink
chore(server): lower default max recognition distance for facial reco…
Browse files Browse the repository at this point in the history
…gnition (#7689)

lower default to 0.5
  • Loading branch information
mertalev committed Mar 7, 2024
1 parent 5dd11ca commit ffaa08e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/src/domain/person/person.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ describe(PersonService.name, () => {
},
{
enabled: true,
maxDistance: 0.6,
maxDistance: 0.5,
minScore: 0.7,
minFaces: 3,
modelName: 'buffalo_l',
Expand Down
2 changes: 1 addition & 1 deletion server/src/domain/system-config/system-config.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const defaults = Object.freeze<SystemConfig>({
enabled: true,
modelName: 'buffalo_l',
minScore: 0.7,
maxDistance: 0.6,
maxDistance: 0.5,
minFaces: 3,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const updatedConfig = Object.freeze<SystemConfig>({
enabled: true,
modelName: 'buffalo_l',
minScore: 0.7,
maxDistance: 0.6,
maxDistance: 0.5,
minFaces: 3,
},
},
Expand Down

0 comments on commit ffaa08e

Please sign in to comment.