icevision_LongestMaxSize: LongestMaxSize

View source: R/icevision_albumentations.R

icevision_LongestMaxSizeR Documentation

LongestMaxSize

Description

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

Usage

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 June 22, 2024, 11:15 a.m.