Focus and AAA Lock

190 views
Skip to first unread message
Assigned to scot...@google.com by wuj...@google.com

Ian Ross

unread,
Aug 2, 2020, 7:24:37 AM8/2/20
to Android CameraX Discussion Group
Is it now possible to lock the AAA (Focus , Exposure, White Balance), then unlock them again and trigger an Auto cycle. I have a listener ready and waiting but would appreciate a bit of sample code.

Scott Nien

unread,
Sep 10, 2020, 11:38:49 PM9/10/20
to Android CameraX Discussion Group
You can achieve that partially by Camera2Interop API, see sample codes below: 

 Preview.Builder builder = new Preview.Builder(); 
 new Camera2Interop.Extender<>(builder)
   .setCaptureRequestOption( key1,  value1)  
   .setCaptureRequestOption( key2,  value2);  
Preview preview = builder.build();

I said partially because currently it doesn't support dynamically changing parameters. So you can only change it at the beginning of camera opening. 
But we are adding a new API to support dynamically change the parameters. Please stay tuned on that. 
Reply all
Reply to author
Forward
0 new messages