Bug 415550 - Faces setup by Picasa are not displayed correctly on rotated/portrait pictures
Summary: Faces setup by Picasa are not displayed correctly on rotated/portrait pictures
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-25 12:05 UTC by Alexandre Belz
Modified: 2020-04-21 21:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
Example (91.07 KB, image/jpeg)
2019-12-25 12:05 UTC, Alexandre Belz
Details
Screen capture of the bug. (1.08 MB, image/png)
2019-12-25 12:07 UTC, Alexandre Belz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belz 2019-12-25 12:05:50 UTC
Created attachment 124702 [details]
Example

STEPS TO REPRODUCE
1. Open the attached picture in Picasa. Face is correctly aligned
2. Open the attached picture in digikam. Face is badly aligned


EXPECTED RESULT
Faces tagged by Picasa should be displayed to same by digikam.

SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Alexandre Belz 2019-12-25 12:07:10 UTC
Created attachment 124703 [details]
Screen capture of the bug.
Comment 2 Maik Qualmann 2019-12-25 12:16:08 UTC

*** This bug has been marked as a duplicate of bug 372340 ***
Comment 3 Maik Qualmann 2019-12-25 12:22:32 UTC
The problem is known and was already been solved. But we still have to find a way to prevent long-standing digiKam users from falling into chaos. So old facial rectangles have to be converted (database and image metadata).

Maik
Comment 4 Alexandre Belz 2019-12-25 14:11:06 UTC
Hi Maik,

thank you for your feedback.
Why do you say "old" ?
i did my test with a new public picture and latest version of both softwares.

Alex
Comment 5 Alexandre Belz 2019-12-25 14:19:51 UTC
... and Merry Christmas to you amd your beloved.
Comment 6 Maik Qualmann 2019-12-25 14:28:06 UTC
DigiKam stores and expects the facial rectangles aligned according to the Exif Orientation tag. However, the standard provides that the face rectangles are saved for the non-aligned image. Since digiKam has been doing this wrong from the beginning, it affects users who have been editing their images with digiKam for many years.

Maik
Comment 7 caulier.gilles 2020-01-19 08:51:58 UTC
Git commit 32bb16fee6b2676b30bf843bf3e083a23084cd3d by Maik Qualmann.
Committed on 19/01/2020 at 08:37.
Pushed by mqualmann into branch 'master'.

read and write not aligned face metadata from image
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +7    -4    core/libs/database/item/scanner/itemscanner_photo.cpp
M  +3    -29   core/libs/fileactionmanager/metadatahub.cpp
M  +0    -6    core/libs/fileactionmanager/metadatahub.h
M  +6    -5    core/utilities/imageeditor/main/imagewindow.cpp

https://invent.kde.org/kde/digikam/commit/32bb16fee6b2676b30bf843bf3e083a23084cd3d
Comment 8 Alexandre Belz 2020-01-26 14:19:34 UTC
Correction confirmed.
Picasa signaled Faces are now correctly analyzed by digikam 7.0 beta2.
Comment 9 Maik Qualmann 2020-04-21 21:21:28 UTC
*** Bug 420401 has been marked as a duplicate of this bug. ***