Bug 466083 - Search photos with exactly 1 face regions and not tagged
Summary: Search photos with exactly 1 face regions and not tagged
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Engine (other bugs)
Version First Reported In: 8.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-19 13:13 UTC by Petr Schonmann
Modified: 2023-02-19 15:33 UTC (History)
1 user (show)

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


Attachments
digikam filter to search one person in photo untagged (63.46 KB, image/jpeg)
2023-02-19 13:13 UTC, Petr Schonmann
Details
multiple persons found (131.88 KB, image/jpeg)
2023-02-19 13:14 UTC, Petr Schonmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Schonmann 2023-02-19 13:13:53 UTC
Created attachment 156490 [details]
digikam filter to search one person in photo untagged

SUMMARY
***
Trying to search photos where only one person is and not tagged yet.
***


STEPS TO REPRODUCE
1. CTRL+ALT+F
2. Select not tagged images and exactly 1 face tags region - look at attachement


OBSERVED RESULT
Query returns zero results
When i uncheck not tagged, the results returns photos where are photos with many face regions but one of them is tagged. See 2nd attachement

EXPECTED RESULT
Expecting to return photos where one person is (tagged / untagged )


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Petr Schonmann 2023-02-19 13:14:20 UTC
Created attachment 156491 [details]
multiple persons found
Comment 2 Maik Qualmann 2023-02-19 15:13:46 UTC
This is not a bug. When we talk about face regions to be found, these are currently confirmed faces. However, confirmed faces always have a tag. Are therefore not found by the search because tags are excluded.

Maik
Comment 3 Maik Qualmann 2023-02-19 15:33:39 UTC
Git commit c42dea16e88b4f808a16cd11f59507393acb293e by Maik Qualmann.
Committed on 19/02/2023 at 15:32.
Pushed by mqualmann into branch 'master'.

also include unknown face regions in the advanced search
FIXED-IN: 8.0.0

M  +2    -1    NEWS
M  +9    -6    core/libs/database/item/query/itemquerybuilder.cpp

https://invent.kde.org/graphics/digikam/commit/c42dea16e88b4f808a16cd11f59507393acb293e