Crop a random part of the input and rescale it to some size.

icevision_RandomSizedCrop(
  min_max_height,
  height,
  width,
  w2h_ratio = 1,
  interpolation = 1,
  always_apply = FALSE,
  p = 1
)

Arguments

min_max_height

min_max_height

height

height

width

width

w2h_ratio

w2h_ratio

interpolation

interpolation

always_apply

always_apply

p

p

Value

None

Targets

image, mask, bboxes, keypoints

Image types

uint8, float32