create

fun create(yuv420Image: ImageProxy): BgrRawImage

Create DOT BgrRawImage.

Return

BGR raw image.

Parameters

yuv420Image

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


fun create(bitmap: Bitmap): BgrRawImage

Create DOT BgrRawImage.

Return

BGR raw image.

Parameters

bitmap

Android Bitmap.