imageProxyToBitmap

private final Bitmap imageProxyToBitmap(ImageProxy image, Boolean isFrontCamera)

Convert an ImageProxy to a Bitmap

Return

The bitmap

Parameters

image

The ImageProxy

isFrontCamera

Whether the camera is facing front (will mirror the image)