How to setImageCaptureResolutionSelector() in CameraController?
How do I set resolution, setImageCaptureResolutionSelector()
? I am using CameraController
but getting very confused between its documentation and ProcessCameraProvider
documentation. Here is my code:
How to setImageCaptureResolutionSelector() in CameraController?
How do I set resolution, setImageCaptureResolutionSelector()
? I am using CameraController
but getting very confused between its documentation and ProcessCameraProvider
documentation. Here is my code:
Camera is not active
Failed to submit capture request
How to set a ratio to camera capture Android?
I would like to put the camera capture in full screen. Even when setting a ‘Resolution strategy’ to 1280 by 1280, the size does not change. I am using these versions of CameraX.
How can i wait until imageCapture to be initialized to take a picture?
How can i wait until the moment imageCapture is initialized, i tried using while (imageCapture == null) {}
, but it just crashes the application, using a delay isn’t an option too as i want to take a pic with the back cam too, and it would take too long as sometime it can take some time to initialize