Pad side of the image / max if side is less than desired number.
icevision_PadIfNeeded(
min_height = 1024,
min_width = 1024,
pad_height_divisor = NULL,
pad_width_divisor = NULL,
border_mode = 4,
value = NULL,
mask_value = NULL,
always_apply = FALSE,
p = 1
)
min_height
min_width
pad_height_divisor
pad_width_divisor
border_mode
value
mask_value
always_apply
p
image, mask, bbox, keypoints
uint8, float32