Bug 426178 - Albumfilter on Unknown faces does not work
Summary: Albumfilter on Unknown faces does not work
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 8.0.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-04 14:05 UTC by Marcel
Modified: 2023-08-11 08:54 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel 2020-09-04 14:05:09 UTC
SUMMARY
After running a face detection, there are lots of "Unknown" faces. Going to the album and filtering the albums on pictures with unknown faces does not show any pictures. 

By the way, in Digikam 7.2. all unknown faces are ungrouped in one album. Before they ware split into the albums they belong to. So that bug gets more important with this version.

STEPS TO REPRODUCE
1. Run face detection on pictures with people
2. Go to album view
3. Select the face tag filter "Unknown"
4. Nothing is shown

OBSERVED RESULT
Nothing is shown although there are pictures with unknown faces

EXPECTED RESULT
All pictures with unknown faces

SOFTWARE/OS VERSIONS
Digikam: Commit 2fdab922ec229c29be1698e9dce59b80dd6cfda6
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-09-21 09:56:42 UTC
The "Unknown", "Unconfirmed" or "Ignored" tags are "virtual" tags and are not actually added to the images like the normal tags. Therefore the filter does not work. You should activate the people view in the left sidebar and you can display all "Unknown" faces there.

Maik
Comment 2 Marcel 2020-09-21 10:08:07 UTC
Thank you for your answer, Maik. 

I know about this "Unknown" tag in people view. My problem is, that there are more than 10'000 unknown faces in my library. In previous versions of Digikam, the faces were organized in albums. Now it is just a huge set of faces and there is no way to look for new faces in a certain album. 

Ignoring all faces is no option. With each new version or parameter change of the face detection algorithm, new faces are found anyway. 

Filtering for this virtual tags would solve my specific problem. I'm not sure if it is so simple to implement.
Comment 3 Maik Qualmann 2020-09-21 10:42:46 UTC
You could assign the tag "Unknown" to all 10,000 images in the People View. However, then (if active) this tag would also be written in the images, ie "people/unknown". That is the reason that the face engine does not do this automatically and these tags are only "virtual", but they can be assigned.

But there is sure to be a way that we can add it to the filter. When there is more time again, I'll take a look. We are currently busy testing and stabilizing the students' new implementations that were programmed under the GSoC2020.

Also note that digiKam-7.2.0 is a Beta 1.

Maik
Comment 4 caulier.gilles 2022-01-09 18:15:59 UTC
Hi Marcel and happy new year,

Can you check if digiKam 7.5.0 pre-release bundle available here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 5 Marcel 2022-01-09 20:04:57 UTC
Hi Gilles

Thank you. I also wish you a happy new year. 

I checked the behavior again with a new version. Unfortunately it is still pretty much the same as when I reported it. I See that it is not that easy to solve as the filter must be applied to a virtual filter and not to one in the picture it self ( see comment from Maik). Anyway, I see it as a but as the filter option "unknown" is shown. One quick fix would be to hide that option but I definitely would like to see the filtered images. I tried to fix it by my own but did not succeed and in the resent months I was short in time. I changed my job and got a new child.
Comment 6 caulier.gilles 2023-05-05 18:29:16 UTC
Maik, 

i think this entry still valid with 8.0.0. Right ?

Gilles
Comment 7 Marcel 2023-05-06 05:27:09 UTC
Yes, the problem still exists.
Comment 8 Peter 2023-08-11 08:54:52 UTC
I want to add that it would be very nice to have a filter for Unconfirmed, Unknown and Ignored faces, as this allows more flexibility such as using the Timeline and Map interface with only these unidentified faces.

If it is technically impossible to implement filtering on unidentified faces, then these entries should be removed/hidden from the filter interface. Currently filtering on unidentified faces is a clearly offered option, but it just won't work.