SUMMARY Selecting "Separate by Face" not working in Album view STEPS TO REPRODUCE 1. Launch Digikam 7.5.0 2. Click on the right-hand tab "Album" and select an Album with many images with face/people tags assigned to them 3. From the menubar select "View" -> "Seperate Items" and select "Faces" OBSERVED RESULT - No grouping by face occurs, all are grouped by "No Face" EXPECTED RESULT - Group images by Faces: 1. "No Face" when no face tags are present on the image. 2. Faces Unknown 3. Face names [Confirmed] / [Unconfirmed] SOFTWARE/OS VERSIONS Windows 11 ADDITIONAL INFORMATION - Seems to be working ok on the "People" tab.
This entry must be deactivated in the album view; grouping by faces is not possible, as images can contain multiple faces. The separation would not be dissolvable. Maik
True. Windows Photo Gallery has a similar option in their "Group By" menu. What it does is that it repeats the image when multiple people appear on an image. However, programmatically it could lead to some complications. For example, when you select an image under a grouped image, it automatically selects any other thumbnail instances under the people in the image.
And it is precisely this repetition that our view cannot do. Maik
Git commit b13bda043b8d05e2ec1eb8eab58ad344140f05a3 by Maik Qualmann. Committed on 01/02/2022 at 21:50. Pushed by mqualmann into branch 'master'. disable separate by faces in the album view FIXED-IN: 7.6.0 M +1 -1 NEWS M +15 -6 core/app/main/digikamapp_setup.cpp https://invent.kde.org/graphics/digikam/commit/b13bda043b8d05e2ec1eb8eab58ad344140f05a3
Won't this be a bit confusing for the user? I mean, the view setting suddenly changes when you move from "Faces" to "Albums" view? I was thinking another approach is to leave this as a menu option in "Albums" view and simply display images with "No Faces" (no face regions nor people tags assigned) and "Faces" (images with face region and people tags). I see the usefulness in this view, giving the user to quickly glance over images with "No Face" regions found but may still contain a face - simply that the face detection algorithm failed to detect it. Thus, giving the user the opportunity to add it manually or perform a selective "Scan for Faces". Also, it gives the user an option to then filter by People tags, using the Filter options on the left-hand side.
When you switch to the People view, the category always changes to Faces by default. We can't currently see if there are faces in the album view unless we load so-called "extra data" from the database. And we would have to do that for all items in the view. As with the camera metadata, this leads to a massive loss of performance. Currently not feasible. We have filters in the right sidebar, you can filter by images without face tags. Maik
Git commit 397e2171ffe30b8b7ac59b7da8d48ccba968727f by Maik Qualmann. Committed on 04/02/2022 at 07:56. Pushed by mqualmann into branch 'master'. add category for faces in album view FIXED-IN: 7.6.0 M +0 -9 core/app/main/digikamapp_setup.cpp M +5 -0 core/libs/database/item/containers/iteminfo.h M +19 -0 core/libs/database/item/containers/iteminfo_properties.cpp M +1 -0 core/libs/database/item/containers/iteminfocache.cpp M +49 -47 core/libs/database/item/containers/iteminfodata.cpp M +2 -0 core/libs/database/item/containers/iteminfodata.h M +9 -2 core/libs/database/models/itemfiltermodel.cpp M +3 -1 core/libs/database/models/itemsortsettings.cpp https://invent.kde.org/graphics/digikam/commit/397e2171ffe30b8b7ac59b7da8d48ccba968727f
A quick glance of that last commit seems you found a way to group by number of faces. Nice!
It's not really fast with MySQL and a lot of items in the view, because a lot of database accesses have to be done sequentially. It's better with SQLite on SSD. Database access should be more grouped... Maik