<div dir="ltr">For some reason Digikam seems to not honor my "ignored" tags.<div><br></div><div>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".</div><div>What happens then is the the face immediately disappears from the view. But the amount of items in the "Ignored" group does NOT increase.</div><div><br></div><div>Next time I run a "Recognize faces" operation the ignored face is back again matched to some bogus person.</div><div><br></div><div>Below is the debug output from when I am marking a single face as Ignored. </div><div>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. </div><div>Is anyone else experiencing something similar?</div><div>How can I fix this?</div><div>Could this in some weird way be related to my locale issues?</div><div><br></div><div><br></div><div><font face="monospace">00000001 0.00000000 [19168] digikam.general: Check for finish: 0 packages, 0 infos to filter, hasFinished() true <br>00000002 0.10719850 [19168] digikam.general: Using 12 CPU core to run threads <br>00000003 0.10781470 [19168] digikam.general: Action Thread run 1 new jobs <br>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=? ) ) " <br>00000005 0.10849400 [19168] digikam.database: Search query: <br>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=? ) ) );" <br>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")) <br>00000008 0.14773540 [19168] digikam.database: Search result: 4367 <br>00000009 0.17476331 [19168] digikam.general: Cancel Main Thread <br>00000010 0.18000311 [19168] digikam.general: One job is done <br>00000011 0.18014900 [19168] digikam.general: Cancel Main Thread <br>00000012 2.50488997 [19168] digikam.general: Using 12 CPU core to run threads <br>00000013 2.50501394 [19168] digikam.general: Using 12 CPU core to run threads <br>00000014 2.50549006 [19168] digikam.general: Action Thread run 1 new jobs <br>00000015 2.50572968 [19168] digikam.general: Action Thread run 1 new jobs <br>00000016 2.55105042 [19168] digikam.general: One job is done <br>00000017 2.55105996 [19168] digikam.general: Cancel Main Thread <br>00000018 2.62769842 [19168] digikam.general: One job is done <br>00000019 2.63544178 [19168] digikam.general: Cancel Main Thread</font></div><div><font face="monospace"><br></font></div><div><br></div><div> <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den man. 12. apr. 2021 kl. 12.05 skrev Thomas D <<a href="mailto:sdktda@gmail.com">sdktda@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Follow-up: <div>I just tried setting the language to Danish.</div><div>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.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den man. 12. apr. 2021 kl. 09.45 skrev Thomas D <<a href="mailto:sdktda@gmail.com" target="_blank">sdktda@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I just noticed that when I mark a face as "Ignored", for some reason it ends up in the "Unknown" tag. </div><div><br></div><div>I am guessing that this might somehow be related to translation/localization of tag names. Is this possible?</div><div><br></div><div>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.</div><div><br></div><div>Below is screenshot from the People tag list. The two red circles are Danish words (Personer=People or Persons; and Ukendt = Unknown)</div><div><br></div><div><img src="cid:ii_kneaiom10" alt="image.png" width="332" height="221"><br></div><div><br></div><div>Is there any way to fix this?</div><div><br></div><div>I have 1.3k in Ignored so at some point it must have worked. Maybe before upgrade to DK 7.2?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den ons. 7. apr. 2021 kl. 10.09 skrev Thomas D <<a href="mailto:sdktda@gmail.com" target="_blank">sdktda@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am still playing around with DK 7.2 image recognition. It is great fun.</div><div>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.</div><div>I then tag the random person as "Ignored" and I would then expect <i>never</i> to see this particular image suggested as the known person again (or any other known person for that matter).</div><div><br></div><div>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.</div><div><br></div><div>In fact, this problem occurs with many different persons. </div><div><br></div><div>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? </div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>