Author Topic: Can we get metadata from an external tool?  (Read 157 times)

Offline IngoThierack

  • Newcomer
  • *
  • Posts: 8
    • View Profile
Can we get metadata from an external tool?
« on: Yesterday at 11:54:10 AM »
Hi, is it possible to import/add metadata from a call to a droplet or do some kind of import of metadata?

I've written a small tool that reads an image (JPEG), sends it to a local LLM, generates keywords and description, and writes them to a sidecar file beside the input image. For example, if I have an image named test.cr3/test.jpg, it creates a test.md file which contains an description and keywords and translations of it. I want to automate this process by using PM to place metadata on the files and places like I do it in the Metadata View. Currently, I have to open the text file, copy manually the description and keywords to the image in PM. This process takes 2-3 minutes to analyse the image, so I'm looking for two possible solutions: process a single image from within PM and wait for it to finish, or batch process the images externally and import the results.

I shoot in RAW/DNG, and generate JPEG thumbnails beside the RAW's which are used in this process.

The question here is, is it possible to integrate/automate this somehow in PM?

Regards,
Ingo

Offline ahoward

  • Camera Bits Staff
  • Uber Member
  • *****
  • Posts: 1306
    • View Profile
Re: Can we get metadata from an external tool?
« Reply #1 on: Yesterday at 12:08:40 PM »
You can create a TSV file with the metadata you want and then follow Bob's instructions in this thread to use that TSV file as a code replacement file: https://forums.camerabits.com/index.php?topic=16022.0