SUMMARY I wrote the face data from lightroom to the file XMP data (region, type face) as well as metadata Subject, HierarchicalSubject, Keyword, PersonInPicture Digikam reads the metadata but the faces are not shown in the picture, there is a tag under person but no are shown on the image in some cases there is not even the person on the image STEPS TO REPRODUCE 1. tag pictures with face info and region 2. add to library 3. check face data OBSERVED RESULT tags under people, no faces no face box in the picture EXPECTED RESULT data to be imported correctly SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
to check if the face regions were wrote correctly I've done: 1) create face on lightroom 2) write face data to images or XMP if raw format 3) start lightroom with a new catalog 4) import images 5) all faces appear to be imported correctly so I do not understand why they are not correctly imported in digiKam
What are your sidecar settings in digiKam? Maik
Created attachment 182031 [details] settings 1
Created attachment 182032 [details] settings 2
Created attachment 182033 [details] settings 3
see attached files. The images are jpg, heic, cr2 intentionally to check flat regions (heic), nested regions (jpg), and sidecar xmp files for raw format cr2
Your additional sidecar extension is incorrect (.xmp), so remove it. It won't be the cause, though. Send me a sample image + sidecar for testing. Maik
Created attachment 182036 [details] test data 1 confidential - not to be disclosed - to be used only for bug resolution
Created attachment 182037 [details] test data 2 confidential - not to be disclosed - to be used only for bug resolution
Created attachment 182038 [details] test data 3 confidential - not to be disclosed - to be used only for bug resolution
Created attachment 182039 [details] test data 4 confidential - not to be disclosed - to be used only for bug resolution
why you say .xmp is not correct? is the format used by Lightroom for sidecar files of raw files. not sure I understand. Also the correct behavior is that .xmp files are used only if the image cannot have the xmp or ipct data (i.e. raw) I can remove it for test but no changes :)
".xmp" extension for the sidecar is the default one in fact, used in standard. You don't need to append this in your settings. The settings is to append extra sidecar extensions (and non standard).
I don't see any errors in your test images; unfortunately, an xmp file isn't included. Except for one image (20241013_151308414_iOSc.heic), which doesn't contain any face metadata, all other images have named face rectangles. Maik
The issue is that the images are not imported correctly, there are no rectangles in the picture nor the people is imported correctly. The images are ok, happy to hear that. M
I see all the face rectangles here. Have you tried rereading the metadata from the images? If the images were already in the digiKam collection and you added the faces externally in LR, you need to enable the option to reread metadata when changes are made in the digiKam metadata settings. This option is currently disabled for you. Maik
I will try again and post the results. I deleted all digikam database and configuration and restarted M
I had to destroy the DB and re create and now it looks like it worked :) I'll do more test
now it appear to read the correct face boxes.