Import recognition.db and similarity.db from a Windows DK install to macOS DK install

Thomas sdktda at gmail.com
Wed Nov 11 14:47:38 GMT 2026


Hi,


I have digikam4.db, recognition.db, similarity.db and 
thumbnails-digikam.db from a Windows 11 install of DK 8.x

I no longer use that machine. Instead I use an MBP with Digikam 9.2 
(snapshot). On the Mac I never really cared to do any face detection, 
etc. A bit but not much.

Can I somehow import the recognition.db and similarity.db into DK 9.2 on 
mac?

Note: for both DK installations, the collection is the same. Meaning it 
is located on a samba share. Now, the name of the collection inside DK 
is different, and the path separator is different on win vs mac 
(backslash vs slash). But the relative psaths should be identical.


I do not really want to just overwrite everything on mac DK and replace 
with the win DK. But I would like to merge it? Perhaps it could be done 
outside of DK by having a script dump the SQLite, change path prefixes, 
and insert into current sqlite db?


BR

Thomas



More information about the Digikam-users mailing list