Rescale an image so that maximum side is equal to max_size, keeping the aspect ratio of the initial image.
icevision_LongestMaxSize(
max_size = 1024,
interpolation = 1,
always_apply = FALSE,
p = 1
)
max_size
interpolation
always_apply
p
None
image, mask, bboxes, keypoints
uint8, float32