Bug 441378

Summary: Prevent face bounding box overlap when same person
Product: [Applications] digikam Reporter: nathmo <natmo>
Component: Faces-DetectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 6.4.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description nathmo 2021-08-22 16:19:36 UTC
SUMMARY
sometimes the program draw two bounding boxes around the same face. it tag them correctly twice as they both belong to the same person.

STEPS TO REPRODUCE
1. Find a picture with a face that have that problem (see attachment)
2. run the face automatic detection + tagging

OBSERVED RESULT
two bounding box overlap on the same face.

EXPECTED RESULT
Reject one of the overlapping bonding box when belonging to the same person.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Ubuntu 20.04.2 LTS
GNOME Version: 3.36.8 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I believe this a minor bug with a possibly simple work around of preventing box overlapping when of the same person that can slighty enhance the accuracy.

you might need the state of face recognition engine and I am not sure i included the right file but i will gladly try to attach the right one if needed and instruction are provided.
Comment 1 Maik Qualmann 2021-08-22 16:34:29 UTC

*** This bug has been marked as a duplicate of bug 440773 ***
Comment 2 Maik Qualmann 2021-09-26 15:59:58 UTC
Git commit 7253440154529ab5d986c2869b08b5281639028e by Maik Qualmann.
Committed on 26/09/2021 at 15:57.
Pushed by mqualmann into branch 'master'.

check for existing faces in the database
when reading face metadata.
Related: bug 440773, bug 415777
FIXED-IN: 7.4.0

M  +2    -2    NEWS
M  +37   -11   core/libs/database/item/scanner/itemscanner_photo.cpp

https://invent.kde.org/graphics/digikam/commit/7253440154529ab5d986c2869b08b5281639028e