icevision_PadIfNeeded {fastai} | R Documentation |
PadIfNeeded
Description
Pad side of the image / max if side is less than desired number.
Usage
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
)
Arguments
min_height |
min_height |
min_width |
min_width |
pad_height_divisor |
pad_height_divisor |
pad_width_divisor |
pad_width_divisor |
border_mode |
border_mode |
value |
value |
mask_value |
mask_value |
always_apply |
always_apply |
p |
p |
Targets
image, mask, bbox, keypoints
Image types
uint8, float32
[Package fastai version 2.2.2 Index]