create
Deprecated
This method is scheduled for removal in the next major release.
Create DOT BgraRawImage.
Return
BGRA raw image.
Parameters
nv21Image
NV21 image from android.hardware.Camera.PreviewCallback.onPreviewFrame callback.
Deprecated
Use BgraRawImageFactory from dot-camera module instead.
Replace with
import com.innovatrics.dot.camera.image.BgraRawImageFactory
Content copied to clipboard
BgraRawImageFactory.create(yuv420Image)
Content copied to clipboard
Create DOT BgraRawImage.
Return
BGRA raw image.
Parameters
yuv420Image
Multi-plane Android YUV 420 image from androidx.camera.core.ImageAnalysis.Analyzer.analyze callback.