invoke

operator fun invoke(imagePath: File): Pair<FloatArray, ImageShape>

Applies the preprocessing pipeline to the specific image file.