Image printing#
- kornia.image.image_to_string(image, max_width=256)[source]#
Obtain the closest xterm-256 approximation string from an image torch.Tensor.
The torch.Tensor shall be either 0~1 float type or 0~255 long type.
Obtain the closest xterm-256 approximation string from an image torch.Tensor.
The torch.Tensor shall be either 0~1 float type or 0~255 long type.