Bug 490330 - Focus points is not displayed at all for a sony a6700 jpg, heif or raw file (arw)
Summary: Focus points is not displayed at all for a sony a6700 jpg, heif or raw file (...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Focus (show other bugs)
Version: 8.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 23:27 UTC by Mistermoonlight
Modified: 2024-07-25 23:19 UTC (History)
2 users (show)

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


Attachments
jpg focus location markernote (11.08 KB, image/png)
2024-07-15 23:27 UTC, Mistermoonlight
Details
Sample of focuspoint display for sony a6700 raw image (58.93 KB, image/jpeg)
2024-07-22 13:00 UTC, Mistermoonlight
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mistermoonlight 2024-07-15 23:27:18 UTC
Created attachment 171695 [details]
jpg focus location markernote

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Focus point is not displayed at all for a a6700 camera file (jpg, heif or raw). While it is displayed correctly for an iphone photo, it is not from the a6700. I guess that the camera field used to display focus are differents. No matter what type of file the camera is generating (firmware v1.03), i.e. jpg, heif or arw (raw), the field used seems to be in the markernote "FocusLocation"

STEPS TO REPRODUCE
1. Preview any camera image with the "Show Focus Points" option selected
2. 
3. 

OBSERVED RESULT
No focus field is displayed at all over the preview image even if the "Show Focus Points" option is selected

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 10 20H2
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Mistermoonlight 2024-07-15 23:37:02 UTC
I used v8.4.0 64 bits (qt6 version)
Comment 2 Maik Qualmann 2024-07-16 06:31:14 UTC
Yes, this Sony focus point format is currently not supported. The "FocusLocation" has less than 5 entries, in addition there are the metadata "FocusFramSize" and "FocusPosition2".
Please upload a sample image, a screenshot of the camera screen showing the focus frame or a screenshot from another program that shows the correct frame in the image.

Maik
Comment 3 Mistermoonlight 2024-07-22 13:00:47 UTC
Created attachment 171890 [details]
Sample of focuspoint display for sony a6700 raw image

The focus point can be displayed for jpg/hif/arw file using sony free "Imaging edge desktop viewer" (download here: https://creatorscloud.sony.net/catalog/en-ca/ie-desktop/index.html). Here this picture downloaded from dpreview photo samples:
https://www.dpreview.com/sample-galleries/7692340468/sony-a6700-sample-gallery/4604831531
Both the .jpg and .arw files of the dog can be downloaded from this url. We can see the focus point displayed in green over the dog eye in imaging edge desktop viewer currently displayed in this sample of the downloaded raw file
Comment 4 Maik Qualmann 2024-07-22 19:10:23 UTC
Git commit 3e7faff7129632200d21e21c7a98e1cf87089525 by Maik Qualmann.
Committed on 22/07/2024 at 19:09.
Pushed by mqualmann into branch 'master'.

support more sony focus points formats
FIXED-IN: 8.5.0

M  +1    -1    NEWS
M  +81   -20   core/libs/metadataengine/focuspoint/focuspoints_extractor_sony.cpp

https://invent.kde.org/graphics/digikam/-/commit/3e7faff7129632200d21e21c7a98e1cf87089525
Comment 5 Maik Qualmann 2024-07-22 21:14:36 UTC
You can download and test the focus point update for Sony with this version from here:

https://files.kde.org/digikam/

Maik
Comment 6 Mistermoonlight 2024-07-25 23:19:54 UTC
(In reply to Maik Qualmann from comment #5)
> You can download and test the focus point update for Sony with this version
> from here:
> 
> https://files.kde.org/digikam/
> 
> Maik

I installed this weekly build (digiKam-8.5.0-20240723T161259-Qt6-Win64.exe) and tested a bunch of a6700 files including, arw, jpg and hif files that are using different size of focus point and they all displayed the focus point correctly now. Thanks!