Android Camera 2 FocusArea -


in old camera api had camera.parameters's setfocusarea specify rect camera focus, in new camera2 api can specify focus distance. knows how specify rect camera focus?

the desired effect implement focus on touch. found lot of answers here in stack overflow implement focus on touch in new camera api, no 1 lets me specify rect.

you can set autofocus metering region in capturerequest control_af_regions key. there corresponding keys auto-exposure , auto-white balance regions well.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

asp.net core mvc - How important is the global.json and src folder? -

c++ - Using Gtest how return different values in ON_CALL? -