-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share photos of a person with other users #948
Comments
Yes this is intended. At some point it may be possible to share "photos of person A" with another user, which is probably what you want, but not at the moment. see #881 |
hm, not exactly, no.
I would expected - better wish ;) - that User 2 now also just has clusters A and C to prevent that user from doing the merge as well (which is easy in this example, but when we talk 10000s of images, there will be a lot of misclassifications which can be corrected) It seems that for now each user uses individual clusters which makes this hard to achieve. |
mmmh. Interesting thought. Let me loop in @jancborchardt here to see what he thinks. |
I think one thing that would be unexpected would be cluster names. Users should not implicitly share cluster names, even if they have photos of the same person, for privacy reasons. For implicitly sharing the cluster assignments, I don't know, it also feels sort of unexpected that someone else can change my cluster configuration. But then, that's only if a photo is shared already... But what if it's shared read-only? Also, it might lead to weird problems when two users' photos get assigned to the same cluster that don't depict the same person, but the photos are not shared, then that cluster is kinda tainted without the ability to fix it. |
I can see both arguments. However, my personal opinion is to have a choice/setting to share metadata (people, objects, location, etc) with specific groups or people. My use case is family photos which I share with my partner. We have 100k photos from two decades stored and shared on our Nextcloud. It is great if we could jointly work on tagging photos and share the results, as doing duplicate work isn't really feasible. |
Hi, |
So, a challenge here is that not only the clusters are per user, but the detections as well, even if the files are shared: This is an example of an image with 3 faces, shared in a groupfolder with 3 members:
Notice the same file_id and path, but different IDs in the face_detection table. So each user has an entry in the table for each person (face) in each image. And each of these entries have a unique cluster_id.
This will need some additional code to update all the entries in the
But we need to figure out how to handle different cases.
Another option is to create what I would call "synced" clusters.
This would need some additional columns in the oc_recognize_face_detections to add a timestamp or version id to ensure that the sync can be done properly, but is a slightly cleaner way as it can basically be done by an external script, and does not need much magic behind the scene. Non-shared images are no problem here, because if the file_id is not found for User B, the image is just not added to User Bs synced cluster. But it still have some challenges, like
So there is no easy way to do this as far as I can see, and it will require some work to really get it functional. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Please refrain from commenting without adding substantial information. If you wish to express support, use the emoji reactions, please. My team will look into solving issues with a large amount of support every once in a while. |
Note, that you do have a little influence over what Nextcloud GmbH works on: We don't promise anything, but every release cycle we try to work on enhancements that get a lot of upvotes, so you may express your support for this by giving this issue an upvote. |
Which version of recognize are you using?
3.4.1
Enabled Modes
Object recognition, Face recognition
TensorFlow mode
WASM mode
Downstream App
Files App
Which Nextcloud version do you have installed?
27.0.0
Which Operating system do you have installed?
Ubuntu 22.04
Which database are you running Nextcloud on?
postgres
Which Docker container are you using to run Nextcloud? (if applicable)
aio
How much RAM does your server have?
8GiB
What processor Architecture does your CPU have?
arm64
Describe the Bug
Not sure if it's a bug or a feature.
I have two accounts which have access to a lot of shared pictures.
The recognition works quite well and there are just a few Presons which needs to be merged.
But if User A merges two Persons, or moves certain Faces to a Person, this only is applied for this user.
If User B Logs in, the Persons are in the previouse, unmerged state.
Is that intended?
Expected Behavior
Merged Persons and Moved Images should be applied to all users which have access to this images.
To Reproduce
Have 2 users
Share all Pictures
Recognise
Merge some Persons for User A
User B sees the unmerged Persons...
Debug log
No response
The text was updated successfully, but these errors were encountered: