Bug 423386

Summary: Unconfirmed face detections treated as confirmed
Product: [Applications] digikam Reporter: Pedja <pedja>
Component: Faces-DetectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin, pedja
Priority: NOR    
Version: 6.4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
URL: face tag, scanning, unconfirmed, false detection
Latest Commit: Version Fixed In: 7.2.0

Description Pedja 2020-06-23 07:52:26 UTC
SUMMARY

When user runs Scan for faces digikam recognizes faces and tags them mostly as Unconfirmed which is OK.

Problem is that other than tagging them Unconfirmed application in all other aspects treats faces as confirmed. 

As face recognition is quite inacurrate, most of the detected faces are tagged as wrong persons in about 90% cases. That creates a problem: when photos are filtered by specific person tag number of falsely tagged images emerge.

This should not be happening. If face tag is not confirmed it should be treated as not face tagged.


STEPS TO REPRODUCE
1. Tag some faces by hand to let application "learn" some faces, but do not tag all.
2. Add somenew photos or remove face tags for all unconfirmed face tags so yu have photos that can be scanned for faces
3. Run face scanning

OBSERVED RESULT

4. Check in Unconfirmed faces to find wrongly tagged face
5. Filter photos by that tag face and you wil see among pictures with confirmad face tag also those that have unconfirmed and wrongly assigned the same tag.

EXPECTED RESULT

When photos are filtered by face tag it should show only photos with confirmed face tag


SOFTWARE/OS VERSIONS
Windows: 8.1

ADDITIONAL INFORMATION

none
Comment 1 Maik Qualmann 2020-06-23 12:03:59 UTC
I have to test it here tonight. I cannot imagine that we would write unconfirmed faces in the metadata of the images. If I understand your bug report correctly. Please also test this with the digiKam-7.0.0-RC version, as described in the other bug report.

Maik
Comment 2 Maik Qualmann 2020-06-23 12:06:52 UTC
When you speak of filters do you mean the filter in the right sidebar of digiKam?

Maik
Comment 3 Pedja 2020-06-23 13:24:25 UTC
(In reply to Maik Qualmann from comment #2)
> When you speak of filters do you mean the filter in the right sidebar of
> digiKam?
> 
> Maik

I am new to digikam so I might be doing something wrong.

By filters I meant tabs on the left, where I select People tab and then specific person. This is where I get non-confirmed and mostly wrongly tagger photographs as photos of chosen person.

I linked my photo archive of about 30000 photos and I few cases one person was mistakenly tagged in thousand or more photos.

For now I solved this by creating imaginary person named UNKNOWN and first I do is get all unconfirmed photos and tag them as unknown instead of what was automatically assigned. That at least removed wrong photos from people tags.
Comment 4 Maik Qualmann 2020-06-23 15:45:52 UTC
The wrong or recognized persons already appear under the name is desired. However, these have not yet been confirmed. You can see that the overlay widget appears above the thumbnail when you move your mouse over it. This is only virtual, no tag has been assigned yet. In digiKam-7.0.0 it is easier to see because these faces have a green frame around the thumbnail.

Maik
Comment 5 Pedja 2020-06-23 17:56:02 UTC
(In reply to Maik Qualmann from comment #4)
> The wrong or recognized persons already appear under the name is desired.
> However, these have not yet been confirmed. You can see that the overlay
> widget appears above the thumbnail when you move your mouse over it. This is
> only virtual, no tag has been assigned yet. In digiKam-7.0.0 it is easier to
> see because these faces have a green frame around the thumbnail.
> 
> Maik

I noticed, after I assigned custom UNKNOWN person tag to handle this, now I cannot easily change person tag by selecting more photos and then edit tag - tag editor does not show up on mouse hover any more and it seems there is no option to change tag for multiple photos in other way - now I have to go one by one.

However, it is anyways confusing - when user chose one tag, to see pictures with no confirmed tag too.

To me it would be logical (and needed) that I can see unconfirmed only or confirmed only when I choose to.

That said, when looking unconfirmed it would be good to have option to sort/group view by name tag so all images that are proposed to be assigned to same tag could be side by side. That would speed up process of handling unconfirmed tags a lot, especially for user who newly installed application and has to do a lot of tagging.
Comment 6 Maik Qualmann 2020-06-23 17:58:39 UTC
Yes, the desire to sort and group faces is part of GSoC 2020, which a student has taken on.

Maik
Comment 7 Maik Qualmann 2020-12-25 13:43:10 UTC
The view of grouped unconfirmed faces is now possible in digiKam-7.2.0-Beta2.

Maik