-
Notifications
You must be signed in to change notification settings - Fork 47
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
Multiple instances of photos added to People after Recognize is run multiple times, people are merged or faces are added #1198
Comments
Hello 👋 Thank you for taking the time to open this issue with recognize. I know it's frustrating when software I look forward to working with you on this issue |
This comment was marked as resolved.
This comment was marked as resolved.
Could you check your nextcloud log for errors regarding recognize? |
There is actually a guard in place that prevents the same picture from being processed by face detection multiple times. It can be circumvented I guess, by running multiple classifier processes in parallel, though. My guess would be that you were too impatient indeed, and multiple processes processed the same images in parallel. |
There was nothing in the logs, no errors, not even a warning related to Recognize or Memories. |
Could you perhaps check with the memories app which faces it has detected in the image. It could be that it just detected multiple faces in the same picture, possibly false positives that are not event real faces. |
If you look at the screenshot I provided, it's the same face over and over. Or did you mean something else? |
Ah, indeed, I didn't look closely enough to see that it already contains the face marker. 🤔 |
Which version of recognize are you using?
8.1.0
Enabled Modes
Object recognition, Face recognition
TensorFlow mode
Normal mode
Downstream App
Memories App
Which Nextcloud version do you have installed?
30.0.0
Which Operating system do you have installed?
Ubuntu 22.04.5
Which database are you running Nextcloud on?
11.5.2-MariaDB-ubu2404
Which Docker container are you using to run Nextcloud? (if applicable)
No response
How much RAM does your server have?
384GB
What processor Architecture does your CPU have?
x86_64
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.
I marked on the attached picture which ones are valid and which are just duplicates. In all cases, the filename is exactly the same and the face recognized is also the same (see green square).
EDIT: I have noticed a couple of interesting things since my bug report:
Note: Not knowing whose fault this might be, I also filed this with pulsejet/memories.
Expected Behavior
I would expect to see 1 instance of photos for each face recognized, even if clustering is launched manually several times, this shouldn't cause severe duplication of images.
To Reproduce
I can't really suggest any exact way to reproduce, however, the common theme seems to be that:
causes the "duplication"
Debug log
No response
The text was updated successfully, but these errors were encountered: