<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>This seems rather useful.</p>
<p>I do not use MySQL and thus I am not able to test it.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2025-02-10 14.31, Michael Moore
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFE18KUE3ijVdWuQX9MFHaCM=1BuXu=C9SrZxsGNnK2pR1VQvQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>In order to review tagged faces, for now, I wrote this bash
script. <br>
</div>
<div><br>
</div>
<div>It lets you mark photos which recently had a face tag added
by adding a new tag called "DK Face Tag Review". You can
either mark the last N photos tagged, or you can mark all
photos tagged in the last N minutes/hours/days. <br>
</div>
<div><br>
</div>
<div>Caveats: <br>
</div>
<div>* Only tested with an external MySQL database</div>
<div>* Only tested on Linux</div>
<div>* Only tested with the 8.6 nightly builds</div>
<div><br>
</div>
<div><a href="https://github.com/stuporglue/dk_face_tag_review"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/stuporglue/dk_face_tag_review</a></div>
<br>
<img src="cid:part1.vH3HO8fI.6CjCo5H5@gmail.com" alt="image.png"
width="578" height="327" class=""><br>
<br>
<div>Obviously connecting directly to the digiKam database isn't
the best solution. I personally haven't had any data loss, but
you should back up your data before trying it out. </div>
<div><br>
</div>
<div>Also obviously, I'm not a digiKam developer and this is not
an official digiKam-supported script.</div>
<div><br>
</div>
<div>C++ isn't my strongest language, but if there's interest I
could look into making this into a plugin. <br>
</div>
<div><br>
</div>
<div>Best,</div>
<div>Michael Moore</div>
<div><br>
</div>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Wed, Jan 15, 2025 at
11:13 AM Thomas <<a href="mailto:sdktda@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">sdktda@gmail.com</a>>
wrote:<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>
<p>Hi Mike,</p>
<p>I see. I think that might be a reasonable way of
implementing this. I do not think this will be
sufficient, however. Additionally, based on the way
"sort by face type" works today, I fear that this might
not be useful at all. But I would love to see it.<br>
</p>
<p>This area definitely needs more work. </p>
<p>I think the database should already register a
timestamp for when a certain face was tagged such that
it be possible to get a list of faces sorted by date of
tagging. Although, I am not sure if the code actually
registers the tagging time at the moment. But this seems
like a really good way to fix such mistakes. <br>
</p>
<p>I think also just a simple "Undo" function is needed.
Undo the recent X taggings, etc. An Undo history would
be <i>really</i> helpful in many cases. For
inspiration, see how Undo history is implemented in
Krita(<a
href="https://docs.krita.org/en/reference_manual/dockers/undo_history.html"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://docs.krita.org/en/reference_manual/dockers/undo_history.html</a>)</p>
<p>BR</p>
<p>Thomas</p>
<div>On 2025-01-14 17.27, Michael Miller wrote:<br>
</div>
<blockquote type="cite">
<pre>Hi Thomas,
It’s an idea/suggestion. It’s not possible now. I know in the face engine code it wouldn’t be too difficult to implement the reference score, but I’ll let Gilles and Maik determine how hard it would be to update the UI to use the reference score.
Cheers,
Mike
</pre>
<blockquote type="cite">
<pre>On Jan 14, 2025, at 11:07 AM, Thomas <a
href="mailto:sdktda@gmail.com" target="_blank"
moz-do-not-send="true"><sdktda@gmail.com></a> wrote:
Hey,
Is this something that you're suggestion to implement like this? Or should this be possible in current DK? I dont see any "sort by similarity to this face" option when I test it.
I know there is a View -> Sort Items > By Face Type
I would expect this to produce similar results if it worked as advertised. But I have never seen this produce any sort of value. Sorting by "face type" seems to do nothing of the kind. I have no idea what it actually sorts by.
BR
Thomas
On 2025-01-14 17.01, Michael Miller wrote:
</pre>
<blockquote type="cite">
<pre>Hi all,
Here’s another idea that might accomplish the same thing. Let me know your thoughts.
In the People->[Some Name Here] view, you could order the faces by similarity to a reference face. In practice, it might work something like this:
1. In the People->[Some Name Here] view, the user right-clicks on a face that they want to use as the reference face.
2. On the context menu that pops up, there’s an option for “Sort by similarity to this face” or some verbiage like that.
3. The view is then sorted by similarity to the reference face (the one the user right-clicked on).
The idea is that mis-confirmed faces would be at the end of list.
What are your thoughts?
Cheers,
Mike
</pre>
<blockquote type="cite">
<pre>On Jan 14, 2025, at 10:52 AM, Thomas <a
href="mailto:sdktda@gmail.com" target="_blank"
moz-do-not-send="true"><sdktda@gmail.com></a> wrote:
YES! This is very much neede! I have not found any way to do this.
Especially number 1 is extremely common. And it is close to impossible to find misidentified faces again for persons with thousands of photos.
BR
Thomas
On 2025-01-14 15.20, Michael Moore wrote:
</pre>
<blockquote type="cite">
<pre>Hello,
Is there a way to see/sort photos by when they were tagged?
I have two use cases:
1. I mis-click on a name
Sometimes there is a lag filtering the name list, or I am moving too fast and I click the wrong name.
I know that a face is now tagged incorrectly, but it is very hard to find.
2. Allow for a second review of tagged photos
If I could sort by date tagged, a second person could easily review a tagging sessions.
I mix up my nieces and nephews a bit, and my wife likes to review my tagging once in a while.
Or, I could let my kids tag their cousins and I could double check their work when they are done.
If this capability isn't available I can file a feature request.
Thanks,
Michael Moore
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>