Is there a way to see recently tagged people?

Thomas sdktda at gmail.com
Mon Feb 10 13:34:31 GMT 2025


This seems rather useful.

I do not use MySQL and thus I am not able to test it.


On 2025-02-10 14.31, Michael Moore wrote:
> In order to review tagged faces, for now, I wrote this bash script.
>
> 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.
>
> Caveats:
> * Only tested with an external MySQL database
> * Only tested on Linux
> * Only tested with the 8.6 nightly builds
>
> https://github.com/stuporglue/dk_face_tag_review
>
> image.png
>
> 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.
>
> Also obviously, I'm not a digiKam developer and this is not an 
> official digiKam-supported script.
>
> C++ isn't my strongest language, but if there's interest I could look 
> into making this into a plugin.
>
> Best,
> Michael Moore
>
>
> On Wed, Jan 15, 2025 at 11:13 AM Thomas <sdktda at gmail.com> wrote:
>
>     Hi Mike,
>
>     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.
>
>     This area definitely needs more work.
>
>     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.
>
>     I think also just a simple "Undo" function is needed. Undo the
>     recent X taggings, etc. An Undo history would be /really/ helpful
>     in many cases. For inspiration, see how Undo history is
>     implemented in
>     Krita(https://docs.krita.org/en/reference_manual/dockers/undo_history.html)
>
>     BR
>
>     Thomas
>
>     On 2025-01-14 17.27, Michael Miller wrote:
>>     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
>>
>>>     On Jan 14, 2025, at 11:07 AM, Thomas<sdktda at gmail.com> <mailto:sdktda at gmail.com> 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:
>>>>     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
>>>>
>>>>>     On Jan 14, 2025, at 10:52 AM, Thomas<sdktda at gmail.com> <mailto:sdktda at gmail.com> 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:
>>>>>>     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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20250210/c9e2fcf1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 50923 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20250210/c9e2fcf1/attachment-0001.png>


More information about the Digikam-users mailing list