How to tag faces with Digikam and read them in Pigallery2? #644
Replies: 4 comments 2 replies
-
Sidecars are not yet supported. You need to write the xmp data to the image
file itself.
…-- Sorry for being brief, sent from my phone.
On Thu, 16 Mar 2023, 13:56 v-marinkov, ***@***.***> wrote:
I tag faces in Digikam using the face regions and I have enabled writing
to XMP sidecards. In Pigallery2, however, names only come up as tags and
searching for people:"First Last" yields no results. What is the correct
way to tag faces, so that Pigallery2 can read them?
—
Reply to this email directly, view it on GitHub
<#644>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5TXAY2LR2PGKDH56TTW4MEWZANCNFSM6AAAAAAV5FRVKU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I did the same for many of my photos. I have opened an issue #656 for this... |
Beta Was this translation helpful? Give feedback.
-
There's a setting called "Face Tags (including face areas)" in the Metadata section of digiKam. (See DK docs.) If you enable this, DK will start to write the face regions to the files themselves. That way, they will be available for piGallery2. One caveat: DK doesn't seem to save these regions to the files unless you create them with the setting on. Sometimes the rectangles are saved when you use "Album > Write Metadata to Files", but it seems very hit-or-miss. |
Beta Was this translation helpful? Give feedback.
-
Adding this here in case anyone else comes looking for a similar solution. You can use exiftool to copy faces from XMP files into the original JPG with a command like the below. I previously used digikam but have since moved to Mylio for the actual face tagging. Mylio only writes to XMP, but I can simply copy any face written by Mylio back into the JPG and PiGallery2 reads them without any issues. exiftool.exe -r -ext jpg -overwrite_original -tagsfromfile %d%f.xmp -all:all -wm cg c:\test |
Beta Was this translation helpful? Give feedback.
-
I tag faces in Digikam using the face regions and I have enabled writing to XMP sidecards. In Pigallery2, however, names only come up as tags and searching for
people:"First Last"
yields no results. What is the correct way to tag faces, so that Pigallery2 can read them?Beta Was this translation helpful? Give feedback.
All reactions