darktable mis-identified lens correction

lua

(Bill Ferguson) #1

I’ve written a script, correct_lens.lua, to provide a means to non destructively correct the lens information used by darktable. In the past if your camera didn’t correctly identify your lens then the only way to correct it was to use exiftool to modify the image file and rewrite the lens information. correct_lens builds a lookup table of lens string corrections, then applies that to the darktable database information for an image and doesn’t modify the image file at all.

I’m putting this out for testing right now to see if it meets the needs of other users, and to see what I didn’t think of. I’ve tested it and I use it every time I shoot to correct the lens information. However, you might want to back up your library.db file prior to trying it just in case there’s a bug I missed.

The script is at https://github.com/wpferguson/correct-lens. The README has lots of information about the script and how to use it as well as performance information.

Bill


Lens detection in certain images not working for some images
(Hevii Guy) #2

Thank-you once again for your efforts, Bill!

Since I’ve been lucky enough not to have encountered issues with mis-read lens identification, this script has limited usage for me. However, in the process of combing your github presence, I noticed a new script: image_stacker.lua .

Woo hoo! Now this one, is one which I’m sure that I’ll be using. Thanks again to you and also to Pat David whose article, you had noted, inspired the script.


(Hevii Guy) #3

Bill, are you up to a challenge :wink: ?


(Bill Ferguson) #4

I was giong to write an announcement about image_stacker, but then I blinked and forgot :-).


(Bill Ferguson) #5

I’ll look at it…