[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 José Oliver-Didier changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #21 from José Oliver-Didier --- Excuse my persistence, but the People Tags Schema 1.2 is Microsoft's own creation you can find the specification here: https://docs.microsoft.com/en-us/windows/win32/wic/-wic-people-tagging#schema-reference Per the specification the face area (rectangle they call it) is marked as optional: MPReg:Rectangle "optional : Stores the rectangle that identifies the person within the photo. The rectangle is stored as four comma-delimited decimal values. The first two values specify the top left coordinate; the final two specify the height and width of the rectangle. The decimal values must be normalized to 1." Again, this is for Microsoft's People Tags only. As the Metadata Working Group last Specification requires a face region. Unfortunately, Windows Photo Gallery does not read "People Shown" tag. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 Maik Qualmann changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #20 from Maik Qualmann --- I see a breach of the standard in writing people names without facial regions. If you show me an official document that describes this, we will implement it. Just because Microsoft does it that way, we won't implement it. Even if digiKam attaches great importance to sharing metadata with other programs, we should adhere to standards. DigiKam puts all options in your hands to correct your images (YOLO face recognition for the smallest faces, etc.) and to write back standard-compliant metadata. I plan to support the new People Shown tag in digiKam-7.3.0. That should solve your problem with Windows Photo Gallery. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #19 from José Oliver-Didier --- Created attachment 135341 --> https://bugs.kde.org/attachment.cgi?id=135341=edit WPG/MS People Tags roundtrip scenario Including PDF explaining the People Tag roundtrip scenario from my previous comment. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 José Oliver-Didier changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #18 from José Oliver-Didier --- Testing on 7.2.0-rc Build 1/30/2021 Commit:https://invent.kde.org/graphics/digikam/commit/d75ec77d8538e10af8c02340e227835c2ee67896 - WPGL (MS People Tag) photos with no face rectangle read as tags OK. - MWG Face Regions photos with no face rectangle read as tags OK. Maik: Works great reading the face metadata! Thanks. However, Since Windows Photo Gallery (application) as well as the MS People Tag Spec allows writing People Tags with no face regions. Would it be possible to write WPG (MS) People Tags without the face region back to the file metadata in order to support this? In other words, write the People names to MPReg:PersonDisplayName when they are present in Digikam's People/ even when no regions have been added. This is the scenario which I encountered with WPG: Say there is a photo with two people win People Tags and face rectangles added in Windows Photo Gallery. If in Digikam one of the two faces a region is added and the other is not, upon writeback to the file metadata the People tag will be erased and therefore not present if the image is read in WPG or in Windows File Explorer. Again, this would only be applicable on WPG (MS) People Tag regions. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 José Oliver-Didier changed: What|Removed |Added CC||jose_oli...@hotmail.com -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 Maik Qualmann changed: What|Removed |Added Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/digikam/commit/c3b746c |hics/digikam/commit/ba8886b |08e53e0dc083903c864a9e05493 |e4fab53919021da057efe51c5fc |2d27bc |73338b Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #17 from Maik Qualmann --- Git commit ba8886be4fab53919021da057efe51c5fc73338b by Maik Qualmann. Committed on 28/01/2021 at 06:54. Pushed by mqualmann into branch 'master'. fix read MWG Faces FIXED-IN: 7.2.0 M +9-10 core/libs/metadataengine/dmetadata/dmetadata_faces.cpp https://invent.kde.org/graphics/digikam/commit/ba8886be4fab53919021da057efe51c5fc73338b -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #16 from José Oliver-Didier --- Created attachment 135248 --> https://bugs.kde.org/attachment.cgi?id=135248=edit MWG Face - Test Files -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 José Oliver-Didier changed: What|Removed |Added Resolution|FIXED |--- Ever confirmed|0 |1 Status|RESOLVED|REOPENED --- Comment #15 from José Oliver-Didier --- Testing on 7.2.0-rc Build 1/26/2021 Commit:https://invent.kde.org/graphics/digikam/commit/5ed02b509f99d270ec84bc0c6883126ebba00b2c - WPGL (MS People Tag) photos with no face rectangle read as tags OK. - MWG Face Regions fail - refer to attached "Test Images MWG.zip". -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #14 from José Oliver-Didier --- Thanks Maik. From the specs and applications which I have encountered here are some thoughts: 1. Microsoft People Tags Schema Spec - "Relaxed" in the sense that regions are optional as well as names. The examples included in BUG 431964 were made using Microsoft Windows Photo Gallery which you will notice the application writes names with no rectangles, rectangles with no names, as well as rectangles with names. https://docs.microsoft.com/en-us/windows/win32/wic/-wic-people-tagging 2. MWG Face Tags – More “stricter”, according to the MWG Version 2.0 Spec published in 2010 page 53 - the regions are required, but the names are optional and interestingly the type- whether it is a "face", "pet", “barcode” or other object is optional. So according to MWG a list of names with no regions is not allowed. Still, I have photos which have been converted from People tags to MWG which leave the names with no regions. I could test around this to see how Digikam handles these cases. I believe that if Digikam encounters a name with type “face” and no region it should still add it to the People view but not write it back as it would not be compliant with the MWG Spec. Worst thing for a user is dedicating hours of work in adding tags only to find out it is not read by other applications. Something which MWG was "smart" was assuming that some applications may be non-compliant and added the "Applied To" State. Last November, I opened a Bug 429219 pertaining to this, which is something Digikam does not write to the MWG and thus is not fully compliant. 3. IPTC People Shown / new Image Regions - Image regions are new in the 2019 IPTC Spec supports more complex shapes as you can see from the example: https://www.iptc.org/std/photometadata/examples/image-region-examples/?b=2 For People, it seems to build upon the 2008 Spec "Person Shown", from what can be read here: https://iptc.org/news/announcing-the-iptc-photo-metadata-standard-2019-1-introducing-iptc-image-regions/ "An IPTC Image Region can frame people in an image, using associated metadata from other fields in the standard attached to only that region, such as Person Shown." Given than it extends from the 2008 Spec Person Shown list, it would be nice for Digikam’s People view in a future version. ID Imager Photo Supreme, supports the new IPTC regions schema. I will need to read further on this Spec. For the previous 3 schema specs, I can see certain benefits of allowing regions with no names assigned. A scenario which comes to mind of an app specialized in face detection or a user which simply identifies and writes the face regions to the file metadata. Then leaves it to another application or user to recognize and tag the faces in an image. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #13 from Maik Qualmann --- Support for the IPTC Person Tag will no longer come in digiKam-7.2.0. I am planning it for the next version. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #12 from José Oliver-Didier --- Thanks Maik. Reading the names and adding them to the People view in Digikam, sounds good. Would this also read the xmp "IPTC Person Shown In Image" and add them to the People view? -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #11 from Maik Qualmann --- I can't find a standard for this, if there is one please give a link. I implemented it. But we won't write it back in images. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 Maik Qualmann changed: What|Removed |Added Version Fixed In||7.2.0 Resolution|--- |FIXED Latest Commit||https://invent.kde.org/grap ||hics/digikam/commit/c3b746c ||08e53e0dc083903c864a9e05493 ||2d27bc Status|REPORTED|RESOLVED --- Comment #10 from Maik Qualmann --- Git commit c3b746c08e53e0dc083903c864a9e054932d27bc by Maik Qualmann. Committed on 25/01/2021 at 20:14. Pushed by mqualmann into branch 'master'. add person tags from invalid MWG face regions FIXED-IN: 7.2.0 M +2-1NEWS M +11 -0core/libs/database/item/scanner/itemscanner_photo.cpp M +3-0core/libs/metadataengine/dmetadata/dmetadata_faces.cpp https://invent.kde.org/graphics/digikam/commit/c3b746c08e53e0dc083903c864a9e054932d27bc -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #9 from Maik Qualmann --- I can certainly implement that names are created for which no facial regions exist. But I don't know if it complies with the metadata standard. Microsoft is known to implement something that is off-standard. I will try to find information. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #8 from José Oliver-Didier --- The more I look at it- it seems like it is a bug when Picasa does not display the People Tags with no associated face rectangles in the Properties pane compared to how it reads the Person Shown values which have no face rectangles associated. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 José Oliver-Didier changed: What|Removed |Added Attachment #135139|Sample image jpg and xmp|Sample image jpg and xmp description|file. |file. (ignore) -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #7 from José Oliver-Didier --- Created attachment 135146 --> https://bugs.kde.org/attachment.cgi?id=135146=edit Picasa File Properties pane showing MS People Tags and IPTC Person Shown -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #6 from José Oliver-Didier --- Created attachment 135145 --> https://bugs.kde.org/attachment.cgi?id=135145=edit Windows File Explorer Details pane showing People Tags -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #5 from José Oliver-Didier --- Oh, my mistake. I added the correct sample attachment. I opened another bug thinking the other issue was closed. I am not sure about Lightroom as I do not use it and I last used it years ago. Windows Photo Gallery and Windows File Explorer read MS People Tags even if they have no regions attached making them searchable as well. They are also shown in the Windows File Properties dialog. The MS People Tags Spec marks the rectangle (face region) as "optional" (https://docs.microsoft.com/en-us/windows/win32/wic/-wic-people-tagging#people-rectangles). You are correct that Picasa does ignore MWG Face and People Tags with no associated Face Regions. Curiously, Picasa does read IPTC "People Shown" displaying the values in the Properties panel as well as making the values searchable, but that is it. Only People Tags with associated regions are shown in the Picasa Properties panel. Then again, Picasa is no longer supported (as WPG) and has not been updated in years. I was trying out Photo Supreme and it does read and write to Person in Image, unfortunately the trial ran out and I am unable to investigate further. Yeah, I guess Person Shown could be added using Digikam's metadata settings as you commented. Still feels odd that such information is not added to Digikam's People tab. I can easily envision a scenario in which the people names have been added to the People Shown or MS People Tags using other applications and lacking a face region. Then spotting these photos in Digikam's Peoples tab and easily manually adding the missing face region. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #4 from Maik Qualmann --- Created attachment 135142 --> https://bugs.kde.org/attachment.cgi?id=135142=edit xmp.png You can easily add support for "Xmp.Iptc4xmpExt.PersonInImage" in digiKam, see screenshot. In digiKam Setup under Advanced, just add the entry for Tags. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #3 from José Oliver-Didier --- Created attachment 135141 --> https://bugs.kde.org/attachment.cgi?id=135141=edit Sample image and xmp (updated) -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 --- Comment #2 from Maik Qualmann --- Your test image has an XMP file but the name does not match the image. To read the IPTC areas, they must be renamed and reading of XMP files activated. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 432048] XMP People/Face tags with no associated regions are ignored by Digikam (Person Shown, MWG Face name, MS People Tag)
https://bugs.kde.org/show_bug.cgi?id=432048 Maik Qualmann changed: What|Removed |Added CC||metzping...@gmail.com --- Comment #1 from Maik Qualmann --- You could have commented in BUG 431964 as well. I already wrote that the current intent is not to add face tags if no region exists. I tested the behavior with Picasa. How do programs like Lightroom behave with this image? The IPTC standard does not apply here, there is no IPTC metadata in your image. Maik -- You are receiving this mail because: You are watching all bug changes.