icevision_LongestMaxSize: LongestMaxSize

Description Usage Arguments Value Targets Image types

View source: R/icevision_albumentations.R

Description

Rescale an image so that maximum side is equal to max_size, keeping the aspect ratio of the initial image.

Usage

1
2
3
4
5
6
icevision_LongestMaxSize(
  max_size = 1024,
  interpolation = 1,
  always_apply = FALSE,
  p = 1
)

Arguments

max_size

max_size

interpolation

interpolation

always_apply

always_apply

p

p

Value

None

Targets

image, mask, bboxes, keypoints

Image types

uint8, float32


fastai documentation built on July 28, 2021, 5:06 p.m.