ImagePreprocessing
class ImagePreprocessing
Content copied to clipboard
Represents the image preprocessing stage of the org.jetbrains.kotlinx.dl.dataset.preprocessor.Preprocessing. Consists of the operations implementing ImagePreprocessing which are applied to the image one by one.
Supported operations include:
See also
Constructors
ImagePreprocessing
Link copied to clipboard
fun ImagePreprocessing()
Content copied to clipboard
Functions
addOperation
Link copied to clipboard
Adds a new operation to the operations.
Extensions
centerCrop
Link copied to clipboard
Applies CenterCrop operation to crop the image at the center.
grayscale
Link copied to clipboard
Applies Convert operation to convert the image to ColorMode.GRAYSCALE.