SUMMARY This is a request to add the ability to import Keywords into the Tag Database. This feature would allow users to import an existing controlled vocabulary keyword file from a structured (hierarchical) ascii text file. Ideally the format used would be the same format used in Adobe Lightroom to import keyword files - thus allowing users to take advantage of existing commercially available controlled vocabularies. Many professional photographers, libraries, archives, etc. already have well established controlled vocabularies, and being able to import them would allow for consistency. As an example, there is a good opensource list here: http://lightroom-keyword-list-project.blogspot.com/ In addition, there are many other lists available online.
I took a look at it. The format has tags with a "~" at the beginning. If I understand correctly, these are used as a grouping in the Tags List and not exported. DigiKam does not currently support this type of behavior. Furthermore, I can't find any information why some sub tags have curly {brackets}. Maik
The content of the example is immaterial to the support request. The requirement is that it allow for the import of a hierarchical form known as a Controlled Vocabulary Keyword Catalogue. The CVKC is structured as follows: Here are the requirements for the file you want to upload as the controlled vocabulary of keywords: 1. This should be a .txt file. 2. While creating a list of keywords, press Enter after every new word to start a new line. For example: keyword 1 keyword 2 keyword 3… etc. 3. If you want to create a hierarchical list of keywords, you should do the following: write the word you need, press Enter to start a new line, and then press Tab to write a new word. For example: keyword 1 keyword 1.1. keyword 1.2. keyword 1.3. keyword 2 keyword 2.1. keyword 2.2.... etc. 4. Additional information can also be found here: http://www.controlledvocabulary.com/examples.html
It is clear to me how such a text file is structured. The point is that the format of http://lightroom-keyword-list-project.blogspot.com/ has some specialties that digiKam does not currently support. Are you only interested on the text structure from Comment 2? Maik
I'm only looking for the import functionality of the file format specified. Forget about trying to go beyond interpreting the implied functionalities / uses of the contents of the example list I provided - digiKam doesn't have to do anything with it.
*** Bug 477543 has been marked as a duplicate of this bug. ***
Hi Brent, The auto-tags assignment feature based on IA introduced in next 8.3.0 do not solve this issue ? The deep learning neural network will analyze image contents and recognize subjects of photography in goal to tag item in the databse accordignly following a taxonomy logic. All is explained in details to the student blog entry here : https://community.kde.org/GSoc/2023/StatusReports/QuocHungTran#Add_Automatic_Tags_Assignment_Tools_and_Improve_Face_Recognition_Engine_for_digiKam Best regards Gilles Caulier
Gilles That project looks like a great project. Although I'm not sure why somekne couldn't just build a link to Amazon's Rekognition service/API. However, I still just want the ability to import my own controlled vocabulary. It seems like a very simple first year comp sci project to do. Controlled vocabularies are used by libraries and archives all over the world. I chose to use one for my photo archive for consistency and it would be great to just be able to import the vocabulary of my choosing which already has the hierarchy established rather than doing it manually.
*** Bug 507524 has been marked as a duplicate of this bug. ***
Git commit 1eb1fbffb46ba60907a3bb0cf9ba7f1ec1d7808a by Maik Qualmann. Committed on 27/07/2025 at 18:05. Pushed by mqualmann into branch 'master'. add function to export all tags to a file This function is in progress; initially, only a digiKam-specific format will be supported, with additional formats being considered later. Related: bug 507524 M +86 -0 core/libs/tags/manager/tagsmanager.cpp M +6 -0 core/libs/tags/manager/tagsmanager.h https://invent.kde.org/graphics/digikam/-/commit/1eb1fbffb46ba60907a3bb0cf9ba7f1ec1d7808a
Git commit 3972b5cc2994a337a3c818c5f09d702119a448f3 by Maik Qualmann. Committed on 27/07/2025 at 18:52. Pushed by mqualmann into branch 'master'. add function to import all tags from a file This function is in progress; initially, only a digiKam-specific format will be supported, with additional formats being considered later. Related: bug 507524 M +71 -2 core/libs/tags/manager/tagsmanager.cpp M +6 -0 core/libs/tags/manager/tagsmanager.h https://invent.kde.org/graphics/digikam/-/commit/3972b5cc2994a337a3c818c5f09d702119a448f3
The export keywords / keyword tree to a text file functionality will be great to have. The last request would be that the "Digikam-format" to start would follow some standard format such as the Controlled Vocabulary Keyword Catalogue (CVKC) as displayed in the original bug report / stream where each level of the tree is indented from the prior level.
I already mentioned in Comment 1 that the CVKC format contains things that digiKam either doesn't support or isn't even explained. What we need is a direct export from LR to see if we can convert and implement it. Note that there's also the option of writing all the tags to a sidecar and importing them into digiKam. Maik
Maik, The requested format is found in comment #2. The feature request provides A link to a sample file from importable into lightroom was supplied. In comment 1, you didn't understand the reasons for the curly brackets, and I explained on comment 2 that the curly bracket kets are tag content and NOT part of the file structure or delimiters in the file. Large professional photography and library organizations, archives, and libraries already use controlled vocabularies for tags. I would just like to use their vocabularies by importing a controlled vocabulary that is in use for my tags. This ensures consistency and prevents typos. One of two acceptable file structures requested isnfound in the original request and comment 2, along and how to create them is provided.
Git commit 32ca5c9842bfd93ed885b43391a022bd03083f31 by Maik Qualmann. Committed on 02/08/2025 at 20:38. Pushed by mqualmann into branch 'master'. add import Controlled Vocabulary Keyword Catalogue files Related: bug 507524 M +44 -12 core/libs/tags/manager/tagsmanager.cpp https://invent.kde.org/graphics/digikam/-/commit/32ca5c9842bfd93ed885b43391a022bd03083f31
Git commit f05f902b22d803b0be0caeae5b3dc79baeaa7ce5 by Maik Qualmann. Committed on 03/08/2025 at 05:44. Pushed by mqualmann into branch 'master'. add export Controlled Vocabulary Keyword Catalogue files Related: bug 507524 FIXED-IN: 8.8.0 M +2 -2 NEWS M +34 -16 core/libs/tags/manager/tagsmanager.cpp https://invent.kde.org/graphics/digikam/-/commit/f05f902b22d803b0be0caeae5b3dc79baeaa7ce5
Git commit 75879816da046d59169363ae205862024e6217e1 by Maik Qualmann. Committed on 03/08/2025 at 09:13. Pushed by mqualmann into branch 'master'. add possibility to import/export tags to selected tag Related: bug 507524 M +52 -8 core/libs/tags/manager/tagsmanager.cpp https://invent.kde.org/graphics/digikam/-/commit/75879816da046d59169363ae205862024e6217e1