CameraX PreviewView.getBitmap() returns null
I want to scrop the camera image for Text Recognition.
I use previewView.getBitmap().
On the Android Studio Emulator it works fine.
But when i use it on my mobile it returns
Is there a fix?
As a workaround i try
BitmapUtils.getBitmap(ImageProxy);