Skip to contents

Visualize images in a tidyvec collection using magick

Usage

viz_images(
  x,
  path_column,
  n = NULL,
  ncol = 3,
  width = 200,
  include_similarity = TRUE,
  label_columns = NULL
)

Arguments

x

A tidyvec object containing images

path_column

Column containing image paths or URLs

n

Number of images to display (default: all)

ncol

Number of columns in the grid (default: 3)

width

Width of each image in pixels (default: 200)

include_similarity

Whether to show similarity scores if available (default: TRUE)

label_columns

Additional columns to use as labels

Value

A magick image object