[digikam] [Bug 374225] Add possibility to remove face identities by removing tag [patch]

Mario Frank bugzilla_noreply at kde.org
Tue Jan 10 16:36:13 GMT 2017


Mario Frank <mario.frank at uni-potsdam.de> changed:

           What    |Removed                     |Added
                 CC|                            |mario.frank at uni-potsdam.de

--- Comment #4 from Mario Frank <mario.frank at uni-potsdam.de> ---
Hi Simon,

I would go even further. Removing the identity when deleting the tag is
definitely a good idea. But I see another use-case that hit me multiple times.
I assigned a tag as face erroneously to some image. But removing the face from
the image did not delete the ImageProperty that states that this tag is a
person tag. The bug https://bugs.kde.org/show_bug.cgi?id=262168 is somehow
connected to this.

Thus, deleting a person tag or a list of person tags but preserving them as
ordinary tags is helpful to clean the DB. Otherwise, users would have to dig
into the DB data which is not really nice for most of them.

I introduced a new context menu item "Delete People Tag" which works for
singleton people tags and also for lists.
This action removes the autodetected face and region property for all images
for the people tags and if wished (by confirmation) also the connection between
the tag and the image, i.e. untaggs the image.
Also, the person, faceEngineId and faceEngineUuid property of the tags is
removed and if existent, the Identity from the recognition.db. The recognition
db entry is found by the uuid.

By the way, I had some TagProperties entries with property kfaceId and
kfaceUuid, but did not find that in source code. May it be that the properties
were renamed?

You are receiving this mail because:
You are the assignee for the bug.

More information about the Digikam-devel mailing list