[digikam] [Bug 381378] New: Face rectangle from XMP sidecar drawn incorrectly for EXIF rotated images
bugzilla_noreply at kde.org
Sun Jun 18 21:15:27 BST 2017
Bug ID: 381378
Summary: Face rectangle from XMP sidecar drawn incorrectly for
EXIF rotated images
Assignee: digikam-devel at kde.org
Reporter: jens-bugs.kde.org at spamfreemail.de
Target Milestone: ---
Created attachment 106158
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
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
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel