Crop a random part of the input and rescale it to some size without loss of bboxes.
Crop a random part of the input and rescale it to some size without loss of bboxes.
icevision_RandomSizedBBoxSafeCrop(
  height,
  width,
  erosion_rate = 0,
  interpolation = 1,
  always_apply = FALSE,
  p = 1
)
icevision_RandomSizedBBoxSafeCrop(
  height,
  width,
  erosion_rate = 0,
  interpolation = 1,
  always_apply = FALSE,
  p = 1
)height
width
erosion_rate
interpolation
always_apply
p
None
None
image, mask, bboxes
image, mask, bboxes
uint8, float32
uint8, float32