View source: R/icevision_albumentations.R
icevision_CropNonEmptyMaskIfExists | R Documentation |
Crop area with mask if mask is non-empty, else make random crop.
icevision_CropNonEmptyMaskIfExists(
height,
width,
ignore_values = NULL,
ignore_channels = NULL,
always_apply = FALSE,
p = 1
)
height |
height |
width |
width |
ignore_values |
ignore_values |
ignore_channels |
ignore_channels |
always_apply |
always_apply |
p |
p |
None
image, mask, bboxes, keypoints
uint8, float32
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.