exposure control

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

Kumar Ranjan Kamila

May 9, 2023, 3:03:04 AMMay 9
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 !

Wenhung Teng

May 10, 2023, 5:54:15 AMMay 10
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
0 new messages