The function retrieves the values from the Hierarchical Subject
field of an image's metadata. It uses exiftool to read the metadata and processes
the results to extract and return the unique hierarchical subjects.
Examples
# Image path
image_path <- file.path(system.file("img", package = "ct"), "large.jpeg")
# Get Hierarchical Subject from the image
ct_get_hs(path = image_path)
#> [1] "Species|Vulture"