[Digikam-users] how to identified bracketing images, with similarity & stuff

Julien T julien.t43 at gmail.com
Mon Nov 5 16:07:33 GMT 2012


Hello

I'm trying to automate the generation of panoramic images with hugin and
digikam for a fixed date folder full of images.

I explored panostart tool but I met few problems which makes it generate
too many false projects described here
https://groups.google.com/forum/?fromgroups=#!topic/hugin-ptx/hnPFGy7EyQI

what I want to do is identified bracketed image and median one (the most
near 0 as default to use) and tagged them, so in the end I can do selection
of input files with exiftool and a rules like
* ((\$taglist=~/bracketing/ and \$taglist=~/b_media/) or
\$taglist!=~/bracketing/)
* check same orientation in a group: exiftool -orientation
* check group images is 3 or more

Also, I want to query digikam db to check there is no same bracketed or
duplicate images in a group (similarity >= 95%) but I don't find an easy
way to get it. Similarity is deduced from ImageHaarMatrix table ? or
UniqueHashes? how to get percent search?
sqlite> select * from ImageHaarMatrix limit 5;
imageid|modificationDate|uniqueHash|matrix
22632|2011-03-08T01:40:58|47360388829738209f036e2421abde63|
22633|2011-03-08T01:40:58|ad0e93511dcf3c94e23a1387589e52cf|
22634|2011-03-08T01:58:42|6c9475489866d40e2afdd73bd2f62fbd|

It seems there is no more document available on db schema
http://www.digikam.org/docs
Old schema for 0.x and 1.x are 404 and nothing for 2.x/upcoming 3.x
Any documents describing similarity search ?
Or do I need extra code outside of sql to get it ?

Thanks a lot.
Cheers,

Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20121105/46a1b84f/attachment.html>


More information about the Digikam-users mailing list