camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

Focus is not ensured before taking a photo

Open fzyzcjy opened this issue 3 years ago • 1 comments

Hi thanks for this demo! However, when taking photo, it is not ensured that scene is focused. Therefore, users have to manually tap or wait to focus, before they can tap the "take photo" button. How can I solve this problem? Because it is quite annoying for users :/

I am using the CameraX simple sample.

fzyzcjy avatar Sep 19 '21 04:09 fzyzcjy

may you set ImageCapture to CAPTURE_MODE_MAXIMIZE_QUALITY with builder? see it that helps: you could read back your setting with ImageCapture::getCaptureMode

ggfan avatar Oct 06 '21 03:10 ggfan