https://bugs.kde.org/show_bug.cgi?id=381378
Bug ID: 381378 Summary: Face rectangle from XMP sidecar drawn incorrectly for EXIF rotated images Product: digikam Version: 5.6.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Faces-Engine Assignee: digikam-de...@kde.org Reporter: jens-bugs.kde....@spamfreemail.de Target Milestone: --- Created attachment 106158 --> https://bugs.kde.org/attachment.cgi?id=106158&action=edit example image pair with screenshot and metadata I have two identical JPEG photos. Both have identical XMP sidecar files specifying two faces at identical positions using mwg-rs:Regions tag (mwg-rs:Regions / rdf:Bag / rdf:li / rdf:Description / mwg-rs:Area). The single difference between these photos is that the original image was rotated 90° left (portrait) and this was compensated by adding an EXIF orientation tag specifying 90° rotation. The other image is not rotated and has no EXIF orientation flag. With the first image, Digikam (5.6.0-pre appimage on Mac OS X 10.12.5) will show the face rectangle specified in the XMP file at an incorrect position. The second image (normalized, and EXIF orientation flag removed or reset) is OK. I have attached the EXIF metadata and XMP sidecars of one such image pair to test this, as well as (censored) screenshots of Digikam displaying both images with this metadata. The root cause must be in the EXIF metadata, because when I copy this XMP sidecar to other image pairs, face rectangles are displayed correctly. Can you think of a reason why the face rectangles are not shown at the right position? How / where is the rectangle position calculated? I have many such images (>10'000) and I do not want to redraw or redetect all faces ... Thank you! -- You are receiving this mail because: You are watching all bug changes.