icevision_SmallestMaxSize: SmallestMaxSize

View source: R/icevision_albumentations.R

icevision_SmallestMaxSizeR Documentation

SmallestMaxSize

Description

Rescale an image so that minimum side is equal to max_size, keeping the aspect ratio of the initial image.

Usage

icevision_SmallestMaxSize(
  max_size = 1024,
  interpolation = 1,
  always_apply = FALSE,
  p = 1
)

Arguments

max_size

max_size

interpolation

interpolation

always_apply

always_apply

p

p

Value

None

Targets

image, mask, bboxes, keypoints

Image types

uint8, float32


fastai documentation built on March 21, 2022, 9:07 a.m.