ImagePreprocessorBase
Base class for ImagePreprocessor implementations. Allows to add additional features, such as saving output with ImageSaver.
Constructors
ImagePreprocessorBase
Link copied to clipboard
fun ImagePreprocessorBase()
Content copied to clipboard
Functions
getOutputShape
Link copied to clipboard
Computes output image shape for the provided inputShape. Note that some input dimensions could equal to null
, which means that they are undefined. This is useful for the operations with fixed output size not dependent on the input size.
Inheritors
CenterCrop
Link copied to clipboard
Convert
Link copied to clipboard
Cropping
Link copied to clipboard
Padding
Link copied to clipboard
Resize
Link copied to clipboard
Rotate
Link copied to clipboard
Extensions
save
Link copied to clipboard
Saves the result of the enclosing ImagePreprocessor to the specified location.