Piotr Krzemiński
06/20/2023, 8:22 AMNot bound to a valid Camera
. Looks like I don’t correctly bind the use cases to the camera, but I’m struggling because the context is not available everywhere.
I’ve found this example: https://developer.android.com/codelabs/camerax-getting-started#1 but it doesn’t use Compose. Are you aware of any Compose-based example that uses the preview and further photo processing?Piotr Krzemiński
06/20/2023, 9:27 AMPiotr Krzemiński
06/20/2023, 9:37 AMToo many acquire images. Close image to be able to process next.
(code) so I needed to call .close()
on the object from the callback override fun onCaptureSuccess(image: ImageProxy) {