Skip to content

NSCF/image-tagger-python

Repository files navigation

Tagging images with values from a dataset

A basic Python script to add a series of keywords from a dataset to a corresponding set of specimen images, as well as copyright and license tags. Expects the filename of the image (with file extension removed) to match a unique value, such as catalog number or barcode, in the dataset provided.

Installation

Uses the excellent ExifTool (exiftool.org) to do the tagging. Make sure that ExifTool is installed first and available on your PATH.

Make sure you have git and Python installed.

Clone this repo to your machine with git clone https://github.com/NSCF/image-tagger-python.git

Then cd image-tagger-python

Then pip install -r requirements.txt

Open ImageTagger.py, change the values in the SETTINGS section at the top of the file to represent what you want. Make sure that the fields you list in keywordfields are present in your dataset. Save and run the script with python ImageTagger.py

Please add comments, suggestions, and issues in the Issues section here in Github.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages