//clika-runtime/io.clika.runtime/ImageProcessor/process
process
[common]
fun process(path: String, options: ImageProcessOptions? = null, where: Placement? = null): Tensor
Preprocess an image file; options override the configuration for this call, where the bound placement.
[common]
fun process(bytes: ByteArray, options: ImageProcessOptions? = null, where: Placement? = null): Tensor
Preprocess an encoded image payload (PNG, JPEG, BMP, ...).
[common]
fun process(image: Tensor, options: ImageProcessOptions? = null, where: Placement? = null): Tensor
Preprocess decoded pixels: [H, W, C] (one image) or [N, H, W, C] (a batch) UInt8 channels-last.