tensor_image_display: Display image tensor

View source: R/vision_utils.R

tensor_image_displayR Documentation

Display image tensor

Description

Display image tensor onto the X11 device

Usage

tensor_image_display(image, animate = TRUE)

Arguments

image

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

animate

support animations in the X11 display

See Also

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


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