create

fun create(nv21Image: Nv21Image): BgraRawImage

Create DOT BgraRawImage.

Return

BGRA raw image.

Parameters

nv21Image

NV21 image from android.hardware.Camera.PreviewCallback.onPreviewFrame callback.


fun create(yuv420Image: <Error class: unknown class>): BgraRawImage

Create DOT BgraRawImage.

Return

BGRA raw image.

Parameters

yuv420Image

Multi-plane Android YUV 420 image from androidx.camera.core.ImageAnalysis.Analyzer.analyze callback.