icevision_RandomSizedBBoxSafeCrop: RandomSizedBBoxSafeCrop

View source: R/icevision_albumentations.R View source: R/icevision_albumentations.R

icevision_RandomSizedBBoxSafeCropR Documentation

RandomSizedBBoxSafeCrop

Description

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.

Usage

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
)

Arguments

height

height

width

width

erosion_rate

erosion_rate

interpolation

interpolation

always_apply

always_apply

p

p

Value

None

None

Targets

image, mask, bboxes

image, mask, bboxes

Image types

uint8, float32

uint8, float32


fastai documentation built on June 22, 2024, 11:15 a.m.