Bug 461366 - Missing face thumbnails/icons on people are not assigned automatically
Summary: Missing face thumbnails/icons on people are not assigned automatically
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 7.9.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-03 16:29 UTC by MarcP
Modified: 2022-11-04 07:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed 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 MarcP 2022-11-03 16:29:34 UTC
SUMMARY
I have noticed that many of the people in my People list do not have a face thumbnail/icon assigned to their face, despite several faces being available.

I believe that happened because these people were not added inside digikam, but instead they were imported from pictures that already had that metadata with people in it (or a folder was temporary unavailable and then rescanned again). In that case, the person is left without a face thumbnail.

Another case would be when the face that corresponds to the face icon is deleted, and that person is left without a face. 

I believe in these cases, there should be some kind of process that checks for faces with missing icons and assign one among the available ones.


STEPS TO REPRODUCE
1. Tag a face rectangle in a picture not using digikam (or using another database).
2. Import that picture into digikam.
3. Observe the icon for that person in the People list.

OBSERVED RESULT
That person does not have an icon for their face.

EXPECTED RESULT
If the person does not have yes icon, assign one among the available ones.

SOFTWARE/OS VERSIONS
digiKam-7.9.0-20221030T175249-x86-64.appimage

Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Comment 1 Maik Qualmann 2022-11-04 07:42:57 UTC
Git commit 7fa0ca86da09c3102986538ad3bc839d6028b9a7 by Maik Qualmann.
Committed on 04/11/2022 at 07:42.
Pushed by mqualmann into branch 'master'.

create face tag icons automatically
FIXED-IN: 8.0.0

M  +1    -1    NEWS
M  +22   -0    core/libs/album/engine/albumthumbnailloader.cpp
M  +16   -0    core/libs/database/coredb/coredb.cpp
M  +5    -0    core/libs/database/coredb/coredb.h
M  +1    -1    core/utilities/facemanagement/database/faceutils.cpp

https://invent.kde.org/graphics/digikam/commit/7fa0ca86da09c3102986538ad3bc839d6028b9a7