What is a good kotlin Multiplateform library for i...
# datascience
a
What is a good kotlin Multiplateform library for image processing like cropping, resizing, normalize, toTensor ? Is Korim + KMath + MultiK what I need ?
a
I never worked with image processing. I think there are some obstacles on this path. Each platform has its own "native" image format, so we need to abstract it first. If you can draft a design document for such thing, it would be helpful.
p
Unfortunately, Multik is not yet multiplatform. We are planning this in the next release. @zaleslaw tried Multik for image preprocessing in his KotlinDL library.
a
@altavir My needs are pretty basic I think, what kind of design document would help? An example of an abstraction for images like an interface ?
@Pavel Gorgulov Great, can you share any roadmap or rough release "date" for multiplatform?
a
Sadly, we do not have manpower to do a proper roadmap yet.
z
The most problem to make a good resizing, it requires bicubic or bilinear interpolation under the hood. When we talk about multiplatform, what platform do we really discuss?
Cropping, normalizing and to tensor could be easily written, but resizing is not so easy thing
a
We actually have multiplatform 1D interpolation already in kmath (both linear and spline) and it is not that hard to add 2D
z
So, it could be a solution))
a
@zaleslaw Ideally JVM and native
a
Native is hard
z
Native and JVM, is it for backends?
a
KMath does support native. Even for tensors, but I can't say we've tested it well.
p
You can see open tasks in Multik, many of them will be included in the next release. After December 8, a detailed roadmap with a release date will be collected.
👍 1