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
width
ignore_values
ignore_channels
always_apply
p
None
image, mask, bboxes, keypoints
uint8, float32