Skip to main content

13  Dealing with Images (todo)

Until this chapter appears fully formed like Athena, have a look at our older image analysis in R tutorial.

Note

Proposed chapter scope: Applying the tools from the previous chapters to images. Covers loading and preprocessing (resizing, metadata extraction, e.g. with magick), coding images with vision LLMs (the approach from Chapter 11), and image embeddings with clustering (the approach from Chapter 12), showing a grid of example images per cluster.

Embeddings and model outputs are precomputed/recorded; check how much the image files (or thumbnails) add to webr.resources. If processing a folder of images needs map, use it without much explanation and point forward to Chapter 16.