Oh... and I never use ImageCapture. I'm solely doing analysis on preview images. Where I can find any information about manual exposure settings they are always tied to the ImageCapture use case. I imagine these wouldn't do me much good, but I could be wrong.
--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/e94dd20f-26a9-4801-afff-ee0ccdb357fd%40android.com.
--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/b2b5b134-2f96-4efc-9409-26a9b78321df%40android.com.
--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/eb8f3d48-d1c2-4b24-9615-8e9942408cebo%40android.com.
--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/eb8f3d48-d1c2-4b24-9615-8e9942408cebo%40android.com.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-developers+unsub...@android.com.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-developers+unsub...@android.com.
// Dynamically set AE/AWB to off and set any other camera2 parameters. Camera2CameraControl.from(camera.getCameraControl()).setCaptureRequestOptions(
new CaptureRequestOptions.Builder()
.setCaptureRequestOption(CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_MODE_OFF)
.setCaptureRequestOption(CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.CONTROL_AWB_MODE_OFF) .setCaptureRequestOption(CaptureRequest.SENSOR_EXPOSURE_TIME, ...) .build()); If you want to set the parameters before the camera opens, you can get the camera instance like the following: // Camera won't open if there are no Preview/ImageCapture/ImageAnalysis being bound. Camera camera = cameraProvider.bindToLifecycle(lifecycleOwner, cameraSelector);
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/18ae2749-85f9-448c-8467-3909cf6d0f59n%40android.com.
Camera2CameraInfo camera2CameraInfo = Camera2CameraInfo.from(camera.getCameraInfo());
camera2CameraInfo.getCameraCharacteristic(CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES);
You can get the ISO sensitivity range by
and set the value by the following parameter.
Remember to turn off AE otherwise it won't work.
Regarding the tint in AWB, I think you can use the following parameters (need to turn off AWB)