Camera icon indicating copy to clipboard operation
Camera copied to clipboard

Add exposure and focus lock functionality

Open snrkl opened this issue 3 years ago • 4 comments

Many camera applications support the ability to press a point in the compose photo frame to spot focus and meter.

If the user presses and holds however, the exposure and focus can be locked, and prevent any automatic focus or exposure controls until the user taps to focus, or takes a picture.

It would be useful for the Camera App to provide mechanism to nominate a spot focus and exposure point, and locking it.

snrkl avatar Nov 25 '21 11:11 snrkl

Hey @snrkl,

I'll need to check if CameraX supports this and just in case if it does then I'll implement it soon 👍

Thanks a lot for making this feature request!

MHShetty avatar Nov 25 '21 13:11 MHShetty

Hey @snrkl,

Focus lock can be achieved by setting the focus timeout to Off/0... For exposure lock, the UI is ready, just need to figure out a way to actually implement it via CameraX. If it's possible to implement this, this option should be visible in v8.

Thanks a lot for making this feature request!

MHShetty avatar Dec 01 '21 12:12 MHShetty

That will also lock exposure and white balance since tap to focus does auto focus + auto exposure + auto white balance, not just focus.

thestinger avatar Dec 01 '21 12:12 thestinger

Hey @snrkl,

CameraX currently doesn't directly offer support for exposure/white-balance lock, so we might need to wait for a while before they actually support this.

MHShetty avatar Dec 18 '21 07:12 MHShetty