facerecognition
facerecognition copied to clipboard
Images in group folders get scanned again for every user
Expected behaviour
When multiple users have access to the group folder, the analysis results of one user should be used for everyone.
Actual behaviour
Each image in a group folder gets analyzed multiple times.
Steps to reproduce
- Create a group folder for all users and upload some images.
- Enable analysis for group folders.
- Enable face recognition for user 1 and run the background job. All pictures in the group folder will be analyzed.
- Enable face recognition for user 2. All face recognition data for images in the group folder is instantly available to the user.
- Run the background job. All images in the group folder will be analyzed again.
Server configuration
-
Database: Postgres
-
Nextcloud version: 25.0.4
Logs
Not very interesting. The only thing of note is that cluster creation is skipped for user 2. This might become problem if all pictures of user 2 except for the ones in the group folder have already been analyzed.
Thanks for the great extension. Face recognition is working really well except for this issue with group folders.
@lkempf
I am likely to face the same issue very soon, and without a GPU available (in Hyper-V) it's taking me approx. 44 seconds to assess all faces in an image, which is a significant overhead if I need to run this for two users with group folders with all my media libraries available.
@matiasdelellis Any plan to allow a shared database (of names/faces) between multiple users for face recognition to reduce overhead on multiple scans for each user that has photos stored in group folders?
Any plan to allow a shared database (of names/faces) between multiple users for face recognition to reduce overhead on multiple scans for each user that has photos stored in group folders?
I am confused why I am mentioned here. Is this not something that would need to be addressed by the facerecognition app?
About the bug, it is planned, the same goes for shared images, etc. But a clarification. Names will never be shared. We're just going to avoid double scanning the files.
Simon is right, very kindly he is helping with AIO, but he is not responsible for this application. Do not involve him unless necessary. 😉
About the bug, it is planned, the same goes for shared images, etc. But a clarification. Names will never be shared. We're just going to avoid double scanning the files.
Simon is right, very kindly he is helping with AIO, but he is not responsible for this application. Do not involve him unless necessary. 😉
Sorry mentioned in error, edited now! My apologies!
waiting for this feature