Open legosaro opened 1 week ago
Hi Pedro,
thank you for the update!
"I have a question for you, is this check correct:
val modes = characteristics.secureGet(CameraCharacteristics.CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES) ?: return false
I found this:
val modes = characteristics.secureGet(CameraCharacteristics.CONTROL_AE_AVAILABLE_MODES)
Another question, I tried using the two methods (enable/disable) but I didn't see any difference, why is that?
Thanks in advance
I fixed the check error. About the question if I can see any different. No, I'm not sure the reason but the code should be correct now
Is your feature request related to a problem? Please describe. I need a method to ensure that the camera automatically adjusts its exposure settings for optimal image brightness in varying lighting conditions.
Describe the solution you'd like Add the method enableAutoExposure in the Camera2ApiManager class with the following code:
builderInputSurface.set( CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_MODE_ON );