Bug 472416 - Add a new option in Face Recognition about duplication of a Confirmed Face.
Summary: Add a new option in Face Recognition about duplication of a Confirmed Face.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (show other bugs)
Version: 8.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 04:20 UTC by Craig
Modified: 2025-02-02 15:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig 2023-07-20 04:20:52 UTC
SUMMARY
***
If a face has already been Confirmed in an image it is highly unlikely that the same face (person) would appear in the same image. This particularly assists with pictures containing family members that might have similar facial features, very young children with less distinct features and low resolution images. If a global option was made available to not suggest the matching of a face, if that face has already been confirmed in the image, this would reduce the number of false suggestions.
***

SOFTWARE/OS VERSIONS
Windows:  10
Comment 1 caulier.gilles 2024-10-08 16:55:22 UTC
Hi Michael,

It's another work around to improve the face recognition workflow...

Gilles
Comment 2 Michael Miller 2024-10-20 16:19:02 UTC
I looked into this idea when implementing YuNet and SFace.  There are 2 concerns with it.  First, there is a significantly greater than 0 probability that 2 faces found in the same image could be the same person.  Multi-mirror self images, and images where the person and a picture of the person are in the same image. (I have many pictures of my son where there is a picture of him in the background.  Both faces were found).  When face matching, both faces would be presented to the use as possibilities, and both faces would be correct suggestions.

The second issue is the face recognizer as it is currently written has no context of the overall image it came from.  The recognizer is given 2 thumbnails and returns a confidence level the thumbnails are the same person.  We would have to provide much more information to the recognizer about the source image for this to work.

I think introducing this feature could be problematic at best.  It sounds like a good idea until you start working through the details. 

Craig,
I hope you'll try the new face detection and recognition features coming in digiKam 8.5.0.  The significantly improved accuracy of face matching should help considerably with reducing false-positive suggestions.

Cheers,
Mike
Comment 3 Michael Miller 2024-11-02 20:29:36 UTC
Gilles, I think we can close this, unless we want to keep it as a suggestion for when we rewrite the face pipeline.

Cheers,
Mike
Comment 4 caulier.gilles 2024-11-03 13:25:33 UTC
Michael,

I give you the rights to close issue in bugzilla since few weeks. I let's you to decide and manage the entries accordingly with your plan.

Gilles