[digiKam-users] Digikam keeps ignoring my ignored tags

Maik Qualmann metzpinguin at gmail.com
Sun Aug 22 13:07:48 BST 2021


Adding the virtual tag "Ignored" does nothing. To ignore a face, you have to 
click on the "-" button in the face thumbnail under "Unknown" in the People 
view. 

Maik

Am Sonntag, 22. August 2021, 13:12:27 CEST schrieb Thomas D:
> For some reason Digikam seems to not honor my "ignored" tags.
> 
> When I select a face that I do not care about (for example some member of a
> crowd at a concert, etc.) then I assign it the tag "Ignored".
> What happens then is the the face immediately disappears from the view. But
> the amount of items in the "Ignored" group does NOT increase.
> 
> Next time I run a "Recognize faces" operation the ignored face is back
> again matched to some bogus person.
> 
> Below is the debug output from when I am marking a single face as Ignored.
> One thing that jumps out is that there are several "SELECT" SQL statements,
> however, there are zero INSERT or UPDATE statements. I would expect digikam
> to do at least some write operations to the database in order to store my
> tag. But it does not seem to do that.
> Is anyone else experiencing something similar?
> How can I fix this?
> Could this in some weird way be related to my locale issues?
> 
> 
> 00000001 0.00000000 [19168] digikam.general: Check for finish:  0 packages,
> 0 infos to filter, hasFinished() true
> 00000002 0.10719850 [19168] digikam.general: Using  12  CPU core to run
> threads
> 00000003 0.10781470 [19168] digikam.general: Action Thread run  1  new jobs
> 00000004 0.10841530 [19168] digikam.database: " ( (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) ) "
> 00000005 0.10849400 [19168] digikam.database: Search query:
> 00000006 0.10849400 [19168]  "SELECT DISTINCT Images.id, Images.name,
> Images.album,        Albums.albumRoot,        ImageInformation.rating,
> Images.category,        ImageInformation.format,
> ImageInformation.creationDate,        Images.modificationDate,
> Images.fileSize,        ImageInformation.width,  ImageInformation.height,
>      ImageTagProperties.value, ImageTagProperties.property,
> ImageTagProperties.tagid  FROM Images        INNER JOIN ImageTagProperties
> ON ImageTagProperties.imageid=Images.id        LEFT JOIN ImageInformation
> ON Images.id=ImageInformation.imageid        INNER JOIN Albums           ON
> Albums.id=Images.album WHERE Images.status=1 AND (  ( (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) OR (
> (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM
> TagsTree WHERE pid=?)) AND ImageTagProperties.property=?  ) )  );"
> 00000007 0.10849400 [19168]  (QVariant(int, 90), QVariant(int, 90),
> QVariant(QString, "autodetectedPerson"), QVariant(int, 90), QVariant(int,
> 90), QVariant(QString, "autodetectedFace"), QVariant(int, 90),
> QVariant(int, 90), QVariant(QString, "ignoredFace"), QVariant(int, 90),
> QVariant(int, 90), QVariant(QString, "tagRegion"))
> 00000008 0.14773540 [19168] digikam.database: Search result: 4367
> 00000009 0.17476331 [19168] digikam.general: Cancel Main Thread
> 00000010 0.18000311 [19168] digikam.general: One job is done
> 00000011 0.18014900 [19168] digikam.general: Cancel Main Thread
> 00000012 2.50488997 [19168] digikam.general: Using  12  CPU core to run
> threads
> 00000013 2.50501394 [19168] digikam.general: Using  12  CPU core to run
> threads
> 00000014 2.50549006 [19168] digikam.general: Action Thread run  1  new jobs
> 00000015 2.50572968 [19168] digikam.general: Action Thread run  1  new jobs
> 00000016 2.55105042 [19168] digikam.general: One job is done
> 00000017 2.55105996 [19168] digikam.general: Cancel Main Thread
> 00000018 2.62769842 [19168] digikam.general: One job is done
> 00000019 2.63544178 [19168] digikam.general: Cancel Main Thread
> 
> Den man. 12. apr. 2021 kl. 12.05 skrev Thomas D <sdktda at gmail.com>:
> > Follow-up:
> > I just tried setting the language to Danish.
> > Then restart DK. Then set it back to EN_us. The tags are still named with
> > way and Ignored images still seems to end up in Ukendt/Unknown.
> > 
> > Den man. 12. apr. 2021 kl. 09.45 skrev Thomas D <sdktda at gmail.com>:
> >> Hello,
> >> 
> >> I just noticed that when I mark a face as "Ignored", for some reason it
> >> ends up in the "Unknown" tag.
> >> 
> >> I am guessing that this might somehow be related to
> >> translation/localization of tag names. Is this possible?
> >> 
> >> The reason I think this is that some of the built-in tag names are in
> >> English and others are in Danish  (my local language). But I have
> >> configured DK to use English UI language. This is rather strange.
> >> 
> >> Below is screenshot from the People tag list. The two red circles are
> >> Danish words (Personer=People or Persons; and Ukendt = Unknown)
> >> 
> >> [image: image.png]
> >> 
> >> Is there any way to fix this?
> >> 
> >> I have 1.3k in Ignored so at some point it must have worked. Maybe before
> >> upgrade to DK 7.2?
> >> 
> >> Den ons. 7. apr. 2021 kl. 10.09 skrev Thomas D <sdktda at gmail.com>:
> >>> Hi,
> >>> 
> >>> I am still playing around with DK 7.2 image recognition. It is great
> >>> fun.
> >>> However, I do experience one really annoying problem: DK keeps
> >>> recognizing some random person (that I do not know) as a specific person
> >>> that I do know and have tagged. So this random person shows up in
> >>> Unconfirmed suggested as the known person.
> >>> I then tag the random person as "Ignored" and I would then expect
> >>> *never* to see this particular image suggested as the known person
> >>> again (or any other known person for that matter).
> >>> 
> >>> However, every time I rescan my collection with "Recognize faces", it
> >>> keeps adding this random person - and the same exact image - as the
> >>> known
> >>> person.
> >>> 
> >>> In fact, this problem occurs with many different persons.
> >>> 
> >>> Is this a bug in DK - or am I doing something wrong? How do I ignore a
> >>> detected face so that it will never be suggested again?






More information about the Digikam-users mailing list