People: Improve face overlap config flag description #22

This commit is contained in:
Michael Mayer 2021-09-23 13:21:21 +02:00
parent ee2b49ef4b
commit 82fccb23c4
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ func (c *Config) FaceScore() float64 {
return c.options.FaceScore
}
// FaceOverlap returns the image area overlap threshold for faces in percent.
// FaceOverlap returns the face area overlap threshold in percent.
func (c *Config) FaceOverlap() int {
if c.options.FaceOverlap < 1 || c.options.FaceOverlap > 100 {
return face.OverlapThreshold

View file

@ -436,7 +436,7 @@ var GlobalFlags = []cli.Flag{
},
cli.IntFlag{
Name: "face-overlap",
Usage: "image area overlap threshold in `PERCENT`",
Usage: "face area overlap threshold in `PERCENT`",
Value: face.OverlapThreshold,
EnvVar: "PHOTOPRISM_FACE_OVERLAP",
},