exposure control

57 views
Skip to first unread message
Assigned to wenhu...@google.com by wuj...@google.com

Kumar Ranjan Kamila

unread,
May 9, 2023, 3:03:04 AM5/9/23
to Android CameraX Discussion Group
We have a face capture app , in which we have circular area where user should keep their face . How to control exposure in the certain circular area only after user's face is detected , in camerax ?

Any help would be appreciated !
Thanks

Wenhung Teng

unread,
May 10, 2023, 5:54:15 AM5/10/23
to Android CameraX Discussion Group, kumar.ran...@gmail.com

CameraX has an API to focus at certain areas which would be auto exposure. 

You can reference https://proandroiddev.com/android-camerax-tap-to-focus-pinch-to-zoom-zoom-slider-eb88f3aa6fc6 to change the focus point.

Combined with the mlkit face detection https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart, it would be able to trigger the focus after the face was detected.


kumar.ran...@gmail.com 在 2023年5月9日 星期二下午3:03:04 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages