Type Alias: StyleTransferOptions
StyleTransferOptions =
Omit<ImagePreprocessorOptions,"resizeMode"> &object
Defined in: extensions/cv/tasks/styleTransfer.ts:29
Options for configuring the style transfer preprocessor and postprocessor.
Type Declaration
outInterpolation
readonlyoutInterpolation:InterpolationMethod
Interpolation method used when resizing output styled images to input dimensions.
outNormalizeOpts
readonlyoutNormalizeOpts:NormalizeOptions
Normalization options for postprocessing output tensors back to uint8 pixel values.
resizeMode
readonlyresizeMode:"stretch"
Resize mode for input images. Must be 'stretch'.