Bug 395243 - Incorrect face regions on vertical images
Summary: Incorrect face regions on vertical images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 6.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-11 12:11 UTC by MarcP
Modified: 2020-01-19 08:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarcP 2018-06-11 12:11:57 UTC
Some face regions are drawn incorrectly. They look like the face region would correspond to the faces if the picture was rotated. Maybe the picture was rotated at some point in the past, but the face region remains. I think it has to do with the camera model, since it happens in most vertical pictures taken with a specific camera (Panasonic DMC-FZ38).

See example picture attachment. The xmp info is written directly into the file.

The same face regions in these pictures are displayed correctly in other software (Picasa).
Comment 1 MarcP 2018-06-11 12:14:10 UTC
The attachment failed due to file size. I uploaded the picture and a screenshot showing the incorrect face regions to google drive. This is the link https://drive.google.com/open?id=16FscWv-z7qzedM5dbc8ZxGkAZ11sGP2r
Comment 2 Maik Qualmann 2018-06-11 17:09:46 UTC

*** This bug has been marked as a duplicate of bug 372340 ***
Comment 3 caulier.gilles 2019-12-23 15:10:11 UTC
7.0.0-beta1 is out with new Face Recognition algorithm based on Deep
Learning/Neural Network API from OpenCV

https://download.kde.org/unstable/digikam/

Please test and give us a feedback

Thanks in advance
Gilles Caulier
Comment 4 caulier.gilles 2020-01-19 08:51:28 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