Commit Graph

14 Commits

Author SHA1 Message Date
viktorstrate
521b121613 Hide faces from frontend if disabled 2021-08-31 12:05:46 +02:00
viktorstrate
9bcfdbb2cd Add environment variables to disable features
Face detection still needs to be hidden on the frontend if it's disabled
2021-08-31 11:34:55 +02:00
viktorstrate
253f126aaf Add scanner_album tests 2021-04-26 15:07:06 +02:00
viktorstrate
1029b61a4c Fix faces not getting scanned
- This fixes #344
- Add integration tests for face recognition
- Properly check that the user own the queried album
2021-04-26 12:21:15 +02:00
viktorstrate
a14b12b8d4 Fix bug where DetectFaces would be called with the wrong media.
This happend because the go routine did not capture the media variable,
and so the it would change before the go routine could start
and call the DetectFaces function.
2021-03-16 22:27:27 +01:00
viktorstrate
3ae92086cd Pass database as argument to individual face_detector functions
This allows the face detector to use transactions,
such that faces can be detected on media that has not
been fully commited yet.

This solves #214
2021-03-16 18:26:51 +01:00
viktorstrate
26996b45e5 Reload faces if albums or media is deleted 2021-02-27 16:39:04 +01:00
viktorstrate
f3ccc60e26 Decrease face threshold 2021-02-22 22:29:42 +01:00
viktorstrate
20251dedd6 Add UI to move faces between face groups 2021-02-20 22:43:07 +01:00
viktorstrate
5368b4bae0 Various improvements to faces UI 2021-02-19 23:30:43 +01:00
viktorstrate
bdd2318afc Implement recognizeUnlabeledFaces 2021-02-19 19:24:31 +01:00
viktorstrate
e4df1fb706 Save face rectangles to database 2021-02-16 11:27:28 +01:00
viktorstrate
4b0365e8aa Implement getSamplesFromDatabase 2021-02-15 20:31:17 +01:00
viktorstrate
abb80ae425 Start on face detection 2021-02-15 17:35:28 +01:00