camera_set_hue()

Updated: April 19, 2023

Set the hue value for the camera

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_set_hue(camera_handle_t handle,
                              int32_t hue)

Arguments:

handle
The handle returned by a call to the camera_open() function.
hue
The hue value to set.

Library:

libcamapi

Description:

Use this function to adjust the hue for the camera. Hue can be used to modify the color associated with objects in an image. You can call camera_get_supported_hue() to determine the available hue values that can be used.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.