pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
3.21k stars 87 forks source link

Multiple instances of (references of) photos added to People after Recognize is run multiple times/People are merged/Faces are added #1298

Open Andreaux opened 2 months ago

Andreaux commented 2 months ago

Describe the bug

I noticed after upgrading my docker image based installation to 30.0.0 and manually running classification in Recognize because it didn't seem to be triggered automatically (I might have been a bit impatient too) that multiple instances of the exact same photos were added to People. If I went into People, I would have 4-8 copies of each picture in different series. If I open them, they are the exact same image as the filename is up in the Tab name. I can only get rid of them manually by selecting "Remove from person" because I assume using delete would remove the single image, and I don't want that, just the multiple references.

Steps To Reproduce

I can't really suggest any exact way to reproduce, however, the common theme seems to be that:

causes the "duplication"

Platform

- OS: irrelevant
- Browser: irrelevant
- Memories Version: 7.4.1
- Recognize: 8.1.0
- Nextcloud Version: 30.0.0
- PHP Version: 8.2.23

Screenshots

Annotation_2024-09-21_012057

Happy to provide more info/screenshots if needed.

Additional context

none.

Andreaux commented 2 months ago

I have noticed a couple of interesting things since my bug report:

  1. the bubbles over People's index images showing how many pictures there is inside of that "person" don't take the duplicates into account. They only show the number of truly unique pictures in there.
  2. If I open a person and remove duplicates manually, they get added to Recognize's clustering queue, they don't just disappear, despite being duplicate references to files already in a cluster (person).