Bug 407157

Summary: Lens Auto-Correction for fixed-lens cameras
Product: [Applications] digikam Reporter: matyas.forstner
Component: Plugin-Bqm-LensCorrectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 6.1.0   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description matyas.forstner 2019-05-02 15:27:41 UTC
SUMMARY

I am trying to use the Batch Queue Manager with "Lens Auto-Correction" plugin for raw images.
I am using a compact camera (Sony RX100M4) which has not-removable lens. The lensfun database has an entry for the lens (<model>DSC-RX100 III &amp; compatibles</model>), but it is not used in the queue as the camera is not writing the lens tag ("Lens description string is empty"). It results immediately in a partial match which in turn cancels the operation in LensAutoFix::toolOperations() ("Cannot find all lens information to process lens auto-corrections").
Comment 1 Maik Qualmann 2019-05-03 19:40:09 UTC
apply patch from Mátyás Forstner to correct the lens detection for fixed lenses
Fixed-lens cameras usually do not write lens information tag. If there
is exactly one lens available in the database for a given camera model,
treat it as exact match.

https://invent.kde.org/kde/digikam/commit/f214f8402788cc33ca2443a935233a27e4c3ee24