I manage all my image metadata and face tags in DigiKam and then add the photos to Gramps. Currently, Gramps doesn’t read the XMP Face regions embedded in the image files. I use the Windows AIO and therefore can’t use face detection. So I have been left to manually redraw the regions and tag people.
I found this support topic - 0007442: [PhotoTagging] Read face metadata created by Digikam (KDE) from image (jpg) XMP metadata and autolink to persons - Gramps - Bugtracker – Free Genealogy Software and I’ve been expanding on some programming that was in the discussion. The code in the discussion was never added to the Gramplet. While the ticket requests reading XMP Face tags and Autolinking to persons, I am focusing only on reading the Face Tags. I am not endeavoring to Auto-link.
- I have integrated the code into the Gramps5.1 PhotoTaggingGramplet. (Add support XMP-mwg-rs regions in PhotoTaggingGramplet · gramps-project/addons-source@eb04653 · GitHub)
- The XMP Regions will be visible if there are no regions already defined in Gramps for an image. If a user has already tagged an image manually, the XMP Regions are not displayed so as not to confuse the user.
- I have added a new column that shows the “XMP Region Name” defined in the image file.
- I have made the columns (Person, Age, XMP Region Name) resizable and allow the order to be changed. I think this makes comparing the ‘XMP Region Name’ to the Person easier.
- I have only tested in on Gramps 5.1.3 / Windows 10 AIO.
This a screen capture of the interface when an image with XMP Regions is loaded and has not yet been tagged in Gramps.
I am hoping this may be useful to other users and I am looking for guidance on how to proceed with contributing to the Gramplet. I have read the developing addons section of the wiki and it seems focused on new add-ons rather than contributing to existing addons.
Thanks for any guidance you can provide.