Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

icevision_CropNonEmptyMaskIfExists

CropNonEmptyMaskIfExists


Description

Crop area with mask if mask is non-empty, else make random crop.

Usage

icevision_CropNonEmptyMaskIfExists(
  height,
  width,
  ignore_values = NULL,
  ignore_channels = NULL,
  always_apply = FALSE,
  p = 1
)

Arguments

height

height

width

width

ignore_values

ignore_values

ignore_channels

ignore_channels

always_apply

always_apply

p

p

Value

None

Targets

image, mask, bboxes, keypoints

Image types

uint8, float32


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.