Bug 463605 - In case of heic images the scan for faces function adds new empty face tags for the persons already tagged
Summary: In case of heic images the scan for faces function adds new empty face tags f...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (other bugs)
Version First Reported In: 7.9.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 22:33 UTC by Tamas
Modified: 2022-12-30 07:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tamas 2022-12-29 22:33:59 UTC
In an album I have both heic files and jpgs. If I run the face detection for the first time everything works as it should. After that I do the manual classification. However, if I try to redetect the faces either for a single image or for an album folder, for the heic images that already have people tagged new empty face tags appear. The position of the empty facetags is at a specific offset from the actual person in the picture. If a folder has jps and heic, I think it only happens to the heic files.

STEPS TO REPRODUCE
1.  scan for faces on a heic
2.  assign people
3.  scan for faces again

OBSERVED RESULT
New tags for the same people that are already tagged appear

EXPECTED RESULT
As with the jpgs, should not duplicate tags for a single person

SOFTWARE/OS VERSIONS
Windows: 11
Comment 1 Maik Qualmann 2022-12-30 07:34:13 UTC
This problem should be fixed in digiKam-8.0.0. The cause is face regions stored in the HEIC image or sidecar. These now replaced a face region in the DB in digiKam-8.0.0 if it hasn't been confirmed yet.

Maik