People: Improve Facial Recognition Accuracy, Command, and UI #22

Work in progress. Performed refactoring along the way.
This commit is contained in:
Michael Mayer
2021-08-13 20:04:59 +02:00
parent 9c99c35db1
commit a974b3a7ea
26 changed files with 417 additions and 226 deletions

View File

@@ -45,13 +45,13 @@ func cleanUpAction(ctx *cli.Context) error {
log.Infof("cleanup: read-only mode enabled")
}
cleanUp := service.CleanUp()
w := service.CleanUp()
opt := photoprism.CleanUpOptions{
Dry: ctx.Bool("dry"),
}
if thumbs, orphans, err := cleanUp.Start(opt); err != nil {
if thumbs, orphans, err := w.Start(opt); err != nil {
return err
} else {
elapsed := time.Since(start)