Fix exiftool detection

This commit is contained in:
viktorstrate
2021-04-03 21:39:32 +02:00
parent ad60eccf8b
commit ceb8c4103f
2 changed files with 22 additions and 6 deletions

View File

@@ -16,6 +16,7 @@ import (
"github.com/photoview/photoview/api/graphql/dataloader"
"github.com/photoview/photoview/api/routes"
"github.com/photoview/photoview/api/scanner"
"github.com/photoview/photoview/api/scanner/exif"
"github.com/photoview/photoview/api/scanner/face_detection"
"github.com/photoview/photoview/api/server"
"github.com/photoview/photoview/api/utils"
@@ -55,6 +56,8 @@ func main() {
scanner.InitializeExecutableWorkers()
exif.InitializeEXIFParser()
if err := face_detection.InitializeFaceDetector(db); err != nil {
log.Panicf("Could not initialize face detector: %s\n", err)
}