Bug 444966 - Request for Keyword Import in Database Capability
Summary: Request for Keyword Import in Database Capability
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (show other bugs)
Version: 7.4.0
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
: 477543 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-11-04 17:59 UTC by brent.newsome
Modified: 2023-11-30 03:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brent.newsome 2021-11-04 17:59:58 UTC
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.
Comment 1 Maik Qualmann 2021-11-08 12:28:45 UTC
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
Comment 2 brent.newsome 2021-11-08 12:47:55 UTC
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
Comment 3 Maik Qualmann 2021-11-08 13:00:54 UTC
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
Comment 4 brent.newsome 2021-11-08 13:19:30 UTC
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.
Comment 5 Maik Qualmann 2023-11-26 08:49:16 UTC
*** Bug 477543 has been marked as a duplicate of this bug. ***
Comment 6 caulier.gilles 2023-11-30 03:29:41 UTC
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
Comment 7 brent.newsome 2023-11-30 03:46:16 UTC
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.