Package org.jetbrains.kotlinx.dl.impl.preprocessing.camerax
Functions
imageToByteBuffer
Link copied to clipboard
fun imageToByteBuffer(image: ImageProxy, outputBuffer: ByteArray, pixelCount: Int)
Content copied to clipboard
Decoding of YUV_420_888 image to NV21 byte representation.
toBitmap
Link copied to clipboard
Converts an ImageProxy to a Bitmap. Currently only supports ImageFormat.YUV_420_888 and PixelFormat.RGBA_8888.