Bug 388379 - My RAW camera photos are not recognized but they are by exiv2
Summary: My RAW camera photos are not recognized but they are by exiv2
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-LensCorrection (other bugs)
Version First Reported In: 5.5.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-31 04:16 UTC by Rafael Linux User
Modified: 2017-12-31 20:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2017-12-31 04:16:54 UTC
My GX8 camera (2 years old) doesn't appear in the cameras list, so I can't apply lens correction automatically. 
How can I solve this issue?

Thank you
Comment 1 Maik Qualmann 2017-12-31 10:43:23 UTC
We use the LensFun project to apply lens corrections. LensFun needs to support your camera and lens. Your Panasonic camera DMC-GX8 is already included in the developer database.

https://sourceforge.net/p/lensfun/code/ci/master/tree/data/db/mil-panasonic.xml

Unfortunately, for some time no new release of LensFun has been created. It is possible to install the more recent LensFun database locally in the home directory in order to use it. I close the bug as UPSTREAM.

Maik
Comment 2 Rafael Linux User 2017-12-31 16:55:47 UTC
I updated my lensfun database previosly to create this issue, with "lensfun-update-data" (included in "lensfun-tools"). Is not this sufficient to get my GX8 detected? Cause I think this should be, but not ... DT still not show my GX8.
Comment 3 Maik Qualmann 2017-12-31 17:09:09 UTC
I have now included the DMC-GX8 in the camera list after call the lensfun-update-data tool. Which LensFun version did you use? Maybe provide a test image? With a test image from the web, the camera and the lens used there are completely recognized.

Maik
Comment 4 Rafael Linux User 2017-12-31 19:25:03 UTC
About lens-fun, really I can't tell you about, cause is like lens-fun were a part or library but not an application itself, so I can't see it for install or even to call with "lensfun". I installed "lensfun-tool 0.3.2-28.1" after read about how to update the db. That package include "lensfun-add-adapter" and "lensfun-update-data". But as I told you, "lensfun" as it, is not for install in my system.

The RAW file is exceeding 20MiB, so the link to it is https://drive.google.com/open?id=1v6OlhYP3OtS6QIBWNrvl9lzzxWIZJQ2L (sorry, I think you'll need a Google account to download the file).
Comment 5 Maik Qualmann 2017-12-31 19:52:56 UTC
Your test image is recognized here with exact match (camera and lens). Because of the LensFun version you can also look under digiKam-> Help-> Component Info. You can also try the pre-release AppImage from digiKam-5.8.0. Make file executable and start, nothing is installed and all current settings are used.

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

Maik
Comment 6 Rafael Linux User 2017-12-31 20:15:56 UTC
"digiKam-> Help-> Component Info" shows this:

digikam version 5.5.0
CPU cores: 4
Eigen: 3.2.9
Exiv2: 0.25
Exiv2 can write to Jp2: Sí
Exiv2 can write to Jpeg: Sí
Exiv2 can write to Pgf: Sí
Exiv2 can write to Png: Sí
Exiv2 can write to Tiff: Sí
Exiv2 supports XMP metadata: Sí
KF5: 5.32.0
LensFun: 0.3.1-0
LibCImg: 130
LibJPEG: 80
LibJasper: 1.900.14
LibLCMS: 2080
LibLqr support: Sí
LibPGF: 7.15.32
LibPNG: 1.6.8
LibRaw: 0.18.2
LibTIFF: 4.0.7
Marble: 0.27.1
Parallelized demosaicing: Sí
Qt: 5.6.2
Complementos Kipi: 5.5.0
LibGphoto2: 2.5.13
LibKipi: 5.2.0
LibOpenCV: 3.1.0
LibQtAV: 1.11.0
Motor de la base de datos: QSQLITE
Uso de AkonadiContact: Sí
Uso de Baloo: Sí
Uso de DBus: Sí
Uso de Panorama: sí
Uso de calendarios: sí
Uso del reproductor multimedia: Sí

My camera is listed in "Cameras list" (on Digikam browser) but however, when in ShowPhoto, my camera-lens is "only partially matched" (I attached captures).

You can see than meanwhile the manufacturer is correct (Panasonic) my camera (GX8) is NOT listed in the model combo. Now I will try with the AppImage version.
Comment 7 Maik Qualmann 2017-12-31 20:19:39 UTC
I think you need LensFun-0.3.2 to support the current version_1 of the LensFun database, so the update is not found.

Maik
Comment 8 Maik Qualmann 2017-12-31 20:24:35 UTC
You can try to copy the files from the directory "$HOME/.local/share/lensfun/updates/version_1/" one directory higher. However, error messages may occur because the instruction set has been extended.

Maik
Comment 9 Rafael Linux User 2017-12-31 20:37:13 UTC
On first place, the AppImage works fine, it detected correctly my lens.

And about your last suggestion (to copy files one folder below), I must say YOU ARE RIGHT. After copy that files, my installed version of Digikam detected correctly my camera and lens!!! You are great!!! It's more, that trick solve the same problem in Dartable. My question now is, what was the problem? Is o.s. related or something similar? I would like to know, to avoid the need to fix this problem in new installations of Digikam.

You gave me a excellent new year gift!!!
Comment 10 Maik Qualmann 2017-12-31 20:48:58 UTC
To my knowledge, the instruction set has been extended. The older version of LensFun should issue error messages in the console when it encounters commands in the database that it does not understand. So maybe the lens correction could not be correct. You can work with the AppImage (it contains the latest LensFun version) or you look for repositories of openSUSE with updated versions of digiKam and the corresponding libs.

Maik