Crate rten_imageio
source ·Functions§
- Apply standard ImageNet normalization to all pixel values in an image.
- Apply standard ImageNet normalization to a pixel value. See https://huggingface.co/facebook/detr-resnet-50#preprocessing.
- Read an image from
path
into a CHW tensor. - Write a CHW image to an image file in
path
.