Bug 194768

Summary: Use a clock photo to work out the time difference of the camera clock
Product: [Applications] digikam Reporter: Pieter Edelman <p.edelman>
Component: Plugin-Generic-TimeAdjustAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: knizek, p.edelman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In: 0.7.0
Attachments: Time adjustment with clock photo
Adjust date and time with clock photo

Description Pieter Edelman 2009-05-31 17:27:20 UTC
Version:            (using KDE 4.2.3)
Installed from:    Unspecified

This patch patch adds a feature that I found very convenient in another program to the time adjust plugin.
Comment 1 Pieter Edelman 2009-05-31 17:34:49 UTC
Created attachment 34148 [details]
Time adjustment with clock photo
Comment 2 Pieter Edelman 2009-05-31 17:41:35 UTC
I'm sorry for the short description, I accidentally hit the Enter button.

This patch assists lazy people like me in figuring out the camera clock inaccuracy. I've found this especially useful when matching photos to a GPS track, where the times should be corrected with second level accuracy. When I go on a photo trip, I usually first take a picture of my GPS unit displaying the time, so I can compensate for drift in my camera clock.

The patch adds a dialog to let the user load a photo of a clock and tell what time is displayed on this clock. The plugin then figures out the camera clock difference and loads these values in the Add/Subtract fields. The rest of the procedure is as usual.
Comment 3 caulier.gilles 2009-05-31 18:47:38 UTC
Thanks for the patch, i will review soon..

Gilles Caulier
Comment 4 Milan Knížek 2009-06-09 23:00:27 UTC
Yep, this would be nice-to-have feature - the clock in digital camera gets off the correct gps time quite soon and the time shift makes a difference for bikers.
Comment 5 caulier.gilles 2009-09-09 16:08:51 UTC
Pieter,

Can you update your patch to work against current implementation from svn.

Thanks in advance...

Gilles Caulier
Comment 6 Pieter Edelman 2009-09-09 20:44:51 UTC
Created attachment 36823 [details]
Adjust date and time with clock photo

Here it is...
Comment 7 caulier.gilles 2009-09-09 22:54:20 UTC
SVN commit 1021703 by cgilles:

apply patch from Pieter Edelman to use photo timestamp to work out the time difference of the camera clock.
BUGS: 194768


 M  +2 -1      CMakeLists.txt  
 AM            clockphotodialog.cpp   [License: GPL (v2+)]
 AM            clockphotodialog.h   [License: GPL (v2+)]
 M  +45 -12    timeadjustdialog.cpp  
 M  +1 -0      timeadjustdialog.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1021703