Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Set up use case
// Step 1. Config
val imageCapture = ImageCapture.Builder().setTargetResolution(Size(600, 800)).build()
// Step 2. Bind
CameraX.bindToLifecycle(lifecycleOwner, cameraSelector, imageCapture)
// Step 3. Act
imageCapture.takePicture(…)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment