tensor_image_browse: Display image tensor

View source: R/vision_utils.R

tensor_image_browseR Documentation

Display image tensor

Description

Display image tensor into browser

Usage

tensor_image_browse(image, browser = getOption("browser"))

Arguments

image

torch_tensor() of shape (1, W, H) for grayscale image or (3, W, H) for color image to display

browser

argument passed to browseURL

See Also

Other image display: draw_bounding_boxes(), draw_keypoints(), draw_segmentation_masks(), tensor_image_display(), vision_make_grid()


mlverse/torchvision documentation built on Sept. 18, 2024, 4:03 p.m.