Updated: October 28, 2024 |
Set the contrast value on the camera
#include <camera/camera_api.h>
camera_error_t camera_set_contrast(camera_handle_t handle, int32_t contrast)
Use this function to increase or decrease the contrast on the camera. Contrast controls the relative difference between pixel values in an image. You can call camera_get_supported_contrast() to determine the available contrast values that can be used.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.