Config: Improve faces options flag documentation #2062
This commit is contained in:
parent
a0e9ef048d
commit
fec195333c
1 changed files with 8 additions and 8 deletions
|
@ -486,49 +486,49 @@ var GlobalFlags = []cli.Flag{
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "face-size",
|
Name: "face-size",
|
||||||
Usage: "minimum face size in `PIXELS`",
|
Usage: "minimum face size in `PIXELS` (20-10000)",
|
||||||
Value: face.SizeThreshold,
|
Value: face.SizeThreshold,
|
||||||
EnvVar: "PHOTOPRISM_FACE_SIZE",
|
EnvVar: "PHOTOPRISM_FACE_SIZE",
|
||||||
},
|
},
|
||||||
cli.Float64Flag{
|
cli.Float64Flag{
|
||||||
Name: "face-score",
|
Name: "face-score",
|
||||||
Usage: "minimum face `QUALITY` score",
|
Usage: "minimum face `QUALITY` score (1-100)",
|
||||||
Value: face.ScoreThreshold,
|
Value: face.ScoreThreshold,
|
||||||
EnvVar: "PHOTOPRISM_FACE_SCORE",
|
EnvVar: "PHOTOPRISM_FACE_SCORE",
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "face-overlap",
|
Name: "face-overlap",
|
||||||
Usage: "face area overlap threshold in `PERCENT`",
|
Usage: "face area overlap threshold in `PERCENT` (1-100)",
|
||||||
Value: face.OverlapThreshold,
|
Value: face.OverlapThreshold,
|
||||||
EnvVar: "PHOTOPRISM_FACE_OVERLAP",
|
EnvVar: "PHOTOPRISM_FACE_OVERLAP",
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "face-cluster-size",
|
Name: "face-cluster-size",
|
||||||
Usage: "minimum size of automatically clustered faces in `PIXELS`",
|
Usage: "minimum size of automatically clustered faces in `PIXELS` (20-10000)",
|
||||||
Value: face.ClusterSizeThreshold,
|
Value: face.ClusterSizeThreshold,
|
||||||
EnvVar: "PHOTOPRISM_FACE_CLUSTER_SIZE",
|
EnvVar: "PHOTOPRISM_FACE_CLUSTER_SIZE",
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "face-cluster-score",
|
Name: "face-cluster-score",
|
||||||
Usage: "minimum `QUALITY` score of automatically clustered faces",
|
Usage: "minimum `QUALITY` score of automatically clustered faces (1-100)",
|
||||||
Value: face.ClusterScoreThreshold,
|
Value: face.ClusterScoreThreshold,
|
||||||
EnvVar: "PHOTOPRISM_FACE_CLUSTER_SCORE",
|
EnvVar: "PHOTOPRISM_FACE_CLUSTER_SCORE",
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "face-cluster-core",
|
Name: "face-cluster-core",
|
||||||
Usage: "`NUMBER` of faces forming a cluster core",
|
Usage: "`NUMBER` of faces forming a cluster core (1-100)",
|
||||||
Value: face.ClusterCore,
|
Value: face.ClusterCore,
|
||||||
EnvVar: "PHOTOPRISM_FACE_CLUSTER_CORE",
|
EnvVar: "PHOTOPRISM_FACE_CLUSTER_CORE",
|
||||||
},
|
},
|
||||||
cli.Float64Flag{
|
cli.Float64Flag{
|
||||||
Name: "face-cluster-dist",
|
Name: "face-cluster-dist",
|
||||||
Usage: "similarity `DISTANCE` of faces forming a cluster core",
|
Usage: "similarity `DISTANCE` of faces forming a cluster core (0.1-1.5)",
|
||||||
Value: face.ClusterDist,
|
Value: face.ClusterDist,
|
||||||
EnvVar: "PHOTOPRISM_FACE_CLUSTER_DIST",
|
EnvVar: "PHOTOPRISM_FACE_CLUSTER_DIST",
|
||||||
},
|
},
|
||||||
cli.Float64Flag{
|
cli.Float64Flag{
|
||||||
Name: "face-match-dist",
|
Name: "face-match-dist",
|
||||||
Usage: "similarity `OFFSET` for matching faces with existing clusters",
|
Usage: "similarity `OFFSET` for matching faces with existing clusters (0.1-1.5)",
|
||||||
Value: face.MatchDist,
|
Value: face.MatchDist,
|
||||||
EnvVar: "PHOTOPRISM_FACE_MATCH_DIST",
|
EnvVar: "PHOTOPRISM_FACE_MATCH_DIST",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue