Bug 374180 - Icon-view: people tags and virtual tags are show mixed together
Summary: Icon-view: people tags and virtual tags are show mixed together
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 7.0.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
: 392020 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-26 19:01 UTC by ohm1969bt
Modified: 2024-10-07 20:37 UTC (History)
3 users (show)

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


Attachments
Shows my selection and the confusing extra tags. (52.80 KB, image/png)
2017-01-02 21:59 UTC, ohm1969bt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ohm1969bt 2016-12-26 19:01:39 UTC
Confusing when wrong name appears under face tag.

When I choose People and select (a) name(s) for which I have face tagged my photos, only the marked areas of the pictures with the chosen name(s) appear.

Under the face tag all the tags applied to the pictures appear. This is confusing. It seems more natural that only the tag for the marked part of the picture appears, or at least that the tag for the marked part of the picture appears first. 

*************************************

Face recognition.

Is it possible to deselect marked faces from the face recognition function.

Face tags are used to find picture with defined people, but some of the pictures are in such a state that they will only confuse the face regognition algorithms. Is it possible to mark these somehow to reduce probability of confusion ?


**************************************

Tags applied to faces could be separated from tags applied to picture when looking at the picture.


When we are looking at a picture it could also be nice to separate between tags applied to marked faces and tags applied to the whole picture. I would like this because I have some pictures to which I applied tags with names of people without marking the faces. I would like to delete these tags.
Comment 1 caulier.gilles 2016-12-26 21:25:22 UTC
Which digiKam version do you use exactly ?

Gilles Caulier
Comment 2 ohm1969bt 2016-12-26 22:31:11 UTC
(In reply to caulier.gilles from comment #1)
> Which digiKam version do you use exactly ?
> 
> Gilles Caulier

Version 5.3.0

KDE Frameworks 5.26.0
Qt 5.6.1 (built against 5.6.1)
The xcb windowing system

From 
http://ppa.launchpad.net/philip5/extra/ubuntu

on$ cat /etc/os*rel*
NAME="Ubuntu"
VERSION="16.10 (Yakkety Yak)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.10"
VERSION_ID="16.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=yakkety
UBUNTU_CODENAME=yakkety
Comment 3 caulier.gilles 2016-12-26 22:35:41 UTC
Can you test, just to verify, if the problem still exist with Linux universal AppImage Bundle available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 4 ohm1969bt 2016-12-26 23:12:24 UTC
(In reply to caulier.gilles from comment #3)
> Can you test, just to verify, if the problem still exist with Linux
> universal AppImage Bundle available here :
> 
> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM
> 
> Gilles Caulier

I still see all the tags applied to the whole picture when I select people tags and one of my names which I have tagged.

So under the part of the picture with Gilles Caulier , Andreas would be shown as the first tag if Andreas also was on the picture and face tagged as Andreas is before Gilles in the alphabet.
Comment 5 Simon 2016-12-28 21:50:40 UTC
> --- Comment #4 from ohm1969bt@gmail.com ---
> (In reply to caulier.gilles from comment #3)
> I still see all the tags applied to the whole picture when I select people tags
> and one of my names which I have tagged.
>
> So under the part of the picture with Gilles Caulier , Andreas would be shown
> as the first tag if Andreas also was on the picture and face tagged as Andreas
> is before Gilles in the alphabet.
I am not sure I understand exactly how to reproduce this. Is it the
following:
Select a picture with multiple already tagged faces on it. Look at it in
"Preview" mode with "Show Face Tags" activated. Then you see all names
of people on the picture below every face tag area?
If this is the case, I can't reproduce this issue. I only see the one
name assigned to the specific face area.
Comment 6 ohm1969bt 2017-01-02 21:59:05 UTC
Created attachment 103154 [details]
Shows my selection and the confusing extra tags.

Hi Simon.


I am sorry for the somewhat unclear description of the problem.
Trying again.

See picture.
I have selected people tags, Odd Harry, and thumbnail view, ( not preview and show face tags )
The thumbnails shows only the marked part of the pictures with my face on, but below the thumbnail all tags for the whole picture is listed.
Also other peoples names if they are tagged on the same picture.

I hope this helps reproducing the slightly confusing situation.

Odd Harry
Comment 7 Simon 2017-01-02 23:04:11 UTC
Thanks for the screenshot, it definitely helped me understand.
This is however not a bug but intended. The information displayed below
the thumbnail in icon view is specific to the entire image also with
active people sidebar. Only the overlay that allows to confirm/type the
name or discard the face rectangle are specific to the view shown with
people sidebar active.

Regarding your other two questions:
 - There is no way to mark a face but not use this face for face
recognition.
 - There is also no way to separate tags applied to the entire image and
only to areas. Every tag applied to an area (i.e. face) is also applied
as a tag to the entire image.
Comment 8 ohm1969bt 2017-01-08 09:29:02 UTC
(In reply to Simon from comment #7)
> Thanks for the screenshot, it definitely helped me understand.
> This is however not a bug but intended. The information displayed below
> the thumbnail in icon view is specific to the entire image also with
> active people sidebar. Only the overlay that allows to confirm/type the
> name or discard the face rectangle are specific to the view shown with
> people sidebar active.
> 
> Regarding your other two questions:
>  - There is no way to mark a face but not use this face for face
> recognition.
>  - There is also no way to separate tags applied to the entire image and
> only to areas. Every tag applied to an area (i.e. face) is also applied
> as a tag to the entire image.

Hi Simon

I agree that this is not quite a bug. I believed I had classified it as a wish, not a bug, but I may have failed.
It is good that the picture helped you understand.
Here is a further explaination on why I found it confusing.
When I add names to the automatically selected rectangles with detected faces after running face detection I simly chose the people tag, and then I worked in the thumbnail view. If a picture had a face which I already had given a name this name would appear below the thumbnail of someone elses face.
It is not a big problem, but it is confusing. 
Especially as I ended up in the thumnail mode without choosing this actively.

It is more confusing when I have only chosen the people tag, than when I already have chosen one particular name to look at.

In the "preview image" mode it works perfectly when I let it "Show Face Tags".

So again, I agree that this is not a bug, but I am still of the opinion that the interface could be further improved when the people tags is chosen and we are in the thumbnail mode. It is a thumbnail of the marked face which is shown, not a thumbnail of the picture.

Odd Harry
Comment 9 caulier.gilles 2019-12-23 14:55:24 UTC
7.0.0-beta1 is out with new Face Recognition algorithm based on Deep
Learning/Neural Network API from OpenCV

https://download.kde.org/unstable/digikam/

Please test and give us a feedback

Thanks in advance
Gilles Caulier
Comment 10 caulier.gilles 2020-01-02 10:19:14 UTC
Maik,

For this entry, i agree with Simon: it's not a bug as people tags are managed as virtual tags. So the list of tag name show under icon-view items are not listed by types but mixed.

But as "tags" for people can be easily distinguish from virtual Tags, we can improve visibility here, but this will require to add a new option for icon view to isolate people tags.

I'm not sure if we want do that. So i ask the Q...

Gilles
Comment 11 Maik Qualmann 2020-01-02 10:48:36 UTC
That would be possible to display face tags differently. However, I already have the tags as a performance problem on the screen under MySQL. We should not add additional DB queries. The option to deactivate the original images are also tags. If this is activated, the item filter model requires additional queries, which significantly deteriorates the performance. I've already thought about and tested a global tags cache for all images.

Maik
Comment 12 caulier.gilles 2020-01-02 16:39:41 UTC
Maik,

We have candidates to duplicates. Look also bugs #392007 and #392020. Topic is very similar...

Gilles
Comment 13 Maik Qualmann 2021-01-19 06:43:10 UTC
*** Bug 392020 has been marked as a duplicate of this bug. ***
Comment 14 caulier.gilles 2024-10-07 20:37:37 UTC
Maik,

If i'm not too wrong, this file is limited to Mysql faces database. Right ?

Gilles