People: Improve face overlap config flag description #22
This commit is contained in:
parent
ee2b49ef4b
commit
82fccb23c4
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue