Bug 392656 - Selecting a root album for face scan doesn't include subfolders, but rather scans an unexpected album set
Summary: Selecting a root album for face scan doesn't include subfolders, but rather s...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Faces (show other bugs)
Version: 5.9.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-02 22:33 UTC by Olivier
Modified: 2022-01-07 05:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier 2018-04-02 22:33:22 UTC
I recently built a digikam db from my picture collection and straight away started playing with face detection/recog. After scanning the whole collection at once I realised it was not way to go. I cleared previous face tags and attempted to scan only a specific range of albums, all located in a specific root folder. After selecting this root folder for a limited scan, I got the whole (?) collection scaned again. I did it two times with the same unexpected result. Then I selected not only the root folder but also all of its children folders, and it finally worked as expected.

Very much like Bug 269445 (?!).
Comment 1 Maik Qualmann 2018-04-03 19:30:36 UTC
On the tags tab, have these disabled? Otherwise, the folders of the tags are also added to the face recognition.

Maik
Comment 2 Olivier 2018-04-05 08:40:16 UTC
(In reply to Maik Qualmann from comment #1)
> On the tags tab, have these disabled? Otherwise, the folders of the tags are
> also added to the face recognition.
> 
> Maik

As a matter of fact I didn't expect that filtering conditions in those two tabs be combined in an "OR" fashion (rather expecting an "AND"). The "whole tag collection" checkbox may well have been checked. I will test again and let you know.
Comment 3 Olivier 2018-04-09 11:43:25 UTC
I tried again and it confirms your explanation : the "whole tag collection" checkbox was probably checked, thus including most of my large image collection in the scan (instead of a limited set of folders).

As a conclusion I would like to suggest two feature improvements :

- in the face detection dialogue, wether the filtering conditions (albums+tags) are combined in an "AND" or an "OR" relation should be explicit (if not selectable, at least shown in some way).

- in the face detection dialogue, it would be usefull if selecting a folder automatically selects all subfolders (or alternatively, have a way to easily select a range of many folders for batch check/uncheck).

Notice : I got misleaded, believing that selecting a parent folder would automatically include all children contents. Instead I currently have to manually select all of my 80+ subfolders one by one to get them scanned. Combined with the effect of improper tags selection and long processing time involved, it made the whole thing quite hard to untangle.

Thanks a lot for helping.
Comment 4 Maik Qualmann 2018-04-15 06:39:18 UTC
With a new digiKam configuration, the tag checkbox is no longer activated automatically (Bug 389827). It is not necessary to set all sub albums by hand. Use the right mouse button menu and select all "children". I close the bug now.

Maik
Comment 5 Olivier 2018-04-23 07:25:09 UTC
Thanks for the tip.