Bug 460321

Summary: Overlapping faces region
Product: [Applications] digikam Reporter: Petr Schonmann <pschonmann>
Component: Faces-DetectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.9.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:

Description Petr Schonmann 2022-10-12 19:00:05 UTC
STEPS TO REPRODUCE
1. Take a large image collection with faces already tagged.
2. Start face detection and recognition.
3. Look into suggestions.

OBSERVED RESULT
Overlapping rectangles show a name and digiKam suggests a different name or nothing for the recently detected face.

EXPECTED RESULT
Rectangles are merged or at least the existing name of the overlapping face is used.

The Screen
https://share.schonmann.eu/tsgx66.jpg

SOFTWARE/OS VERSIONS
Linux Mint 21

ADDITIONAL INFORMATION
Probably same as #440773 but im on linux, using external mysql
Comment 1 Maik Qualmann 2022-10-12 20:46:01 UTC
We're checking a certain percentage of overlap. We can change it, but then there is the problem that faces that are close together are ignored. I would almost leave it as it is at the moment, the problem occurs very rarely. Please provide me with the original tagged image.

Maik
Comment 2 Maik Qualmann 2022-10-12 20:47:41 UTC

*** This bug has been marked as a duplicate of bug 440773 ***
Comment 3 Maik Qualmann 2022-10-13 06:30:25 UTC
Git commit f447b3103e8bf7b3407937b660914055db7b7524 by Maik Qualmann.
Committed on 13/10/2022 at 06:29.
Pushed by mqualmann into branch 'master'.

better check for overlapping face regions when importing
FIXED-IN: 8.0.0

M  +1    -1    NEWS
M  +13   -29   core/libs/database/item/scanner/itemscanner_photo.cpp

https://invent.kde.org/graphics/digikam/commit/f447b3103e8bf7b3407937b660914055db7b7524
Comment 4 Maik Qualmann 2022-10-13 06:31:34 UTC
This type of double faces can only occur when re-reading the metadata from the image. Function is now improved for digiKam-8.0.0.

Maik