captureImageWithPreviewExtraction

fun captureImageWithPreviewExtraction(): Bitmap?

Captures the current frame of the previewTextureView and returns it as a Bitmap.