Bug 338171

Summary: When automatic recognition guesses the same name for multiple faces in one picture, assigning a different name deletes all the face boxes except one
Product: [Applications] digikam Reporter: Christian <k>
Component: Faces-RecognitionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Christian 2014-08-10 12:40:10 UTC
Situation: Photo, on which the automatic face tool has found multiple faces and has guessed the same name for several (e.g. "Tom"). Say that the people on the photo are actual, Tom and Robert and I want to fix the name for Robert.
Steps: Click on Robert's face tag and change it from Tom to Robert. Confirm.
Expected result: No change to the other face tag.
Actual result: The other face tag disappears completely and it is not possible to show it again / click on it. As if assigning the name "Robert" to the one face tag at the same time deletes ALL face tags of "Tom" from the picture, and not just the one face tag that I am changing.

I have not tried whether this applies only to "guessed unconfirmed" face tags or also to a photo where someone tags several faces to the same tag and then corrects one of them. If the bug applies there, too, then this would cause all the unchanged face tags to disappear.
Comment 1 Christian 2014-08-11 14:00:35 UTC
Seems to apply especially to the "guessed unconfirmed" tags, but the behaviour does not always happen. Sometimes I can change one "guessed unconfirmed" tag to a different name and the other face tags are still "guessed unconfirmed". But sometimes this bug occurs and they totally disappear.
(Note that, bug 326033 means that, for me, initially all the tags disappear from view, but this bug actually removes the unconfirmed face tags completely and they don't come back.)
Comment 2 caulier.gilles 2015-05-11 09:06:09 UTC
Christian

Problem still exists with last digiKam 4.9.0 ?

Gilles Caulier
Comment 3 Christian 2015-05-11 20:34:59 UTC
Dear Gilles, I will try - need to wait for this situation to happen again (where the same name is guessed for two or more faces on the same picture).
Comment 4 Christian 2015-09-12 08:22:23 UTC
I noticed this once with digikam 4.12.0.  It doesn't happen often that Digikam guesses the same name for many faces on the same photo... but it seems that the problem still exists.
Comment 5 caulier.gilles 2016-11-29 14:07:49 UTC
Can you reproduce the problem using digiKam Linux AppImage bundle ? The last
bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 6 caulier.gilles 2019-12-23 15:16:30 UTC
7.0.0-beta1 is out with new Face Recognition algorithm based on Deep
Learning/Neural Network API from OpenCV

https://download.kde.org/unstable/digikam/

Please test and give us a feedback

Thanks in advance
Gilles Caulier
Comment 7 caulier.gilles 2019-12-25 17:41:27 UTC
I tested with 7.0.-beta1 and Depp Learning face recognition and i connot reproduce the problem here.

I close this file now. Don't hesisae to re-open if necessary.

Gilles Caulier