Photo Tagger

Nov 6, 2025 · 1 min read
Photo Tagger
projects

Photo Tagger asks a vision-language model to look at each photo and writes a title, a description and hierarchical keywords as metadata that Lightroom reads. It works with RAW files and with JPEG, PNG and other formats. By default, it writes XMP sidecars and leaves the originals untouched.

The model can run on your own computer with Ollama, LM Studio or llama.cpp, or at any OpenAI-compatible service. The metadata can be in any language the model knows.

Other features:

  • It merges new keywords with the ones a photo already has.
  • It maps keywords onto your own keyword list, and it can build that list from your photos.
  • It gives every photo of the same subject in a shoot the same keywords.
  • It writes your credit and copyright notice, with the year of each photo.
  • It watches a folder and tags new photos as they arrive.
  • It records each run, so photo-tagger undo can revert a bad batch.

Besides the command-line tool, there is an optional desktop app with the same features, in English and Brazilian Portuguese. Install it from PyPI or conda-forge. The documentation explains the installation and every option.

I use it for the titles, descriptions and keywords of the photos on this site.

Julio Batista Silva
Authors
Senior Cloud Developer

I’m a Brazilian-German computer engineer based in Germany, passionate about tech, science, photography, and languages.

I’ve been programming for about two decades already, exploring everything from mobile apps and web development to machine learning. These days I focus on cloud SRE and data engineering.

I volunteer in the open source and Python communities, helping organize PyCon DE and PyData Berlin, serving on the PSF D&I Work Group, mentoring, and contributing code and translations.

On my blog, I share Linux tips, setup guides, and personal notes I’ve written for future reference. I hope others find them helpful as well. The content is available in multiple languages.

Browse my gallery for some of my photography.

Away from the keyboard, you’ll find me at concerts, playing clarinet, cycling, scuba diving, or exploring new places, cultures, and cuisines.

Always happy to connect! 🙂