camera_set_sharpness()

Updated: April 19, 2023

Set the sharpness value on the camera

Synopsis:

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

Arguments:

handle
The handle returned by a call to the camera_open() function.
sharpness
The sharpness value to set. Higher values increase the edge intensities in the image while lower values decrease the edge intensities.

Library:

libcamapi

Description:

Use this function to increase or decrease the sharpness on the camera. Sharpness controls the intensity of edges in an image. You can call camera_get_supported_sharpness() to determine the available sharpness 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.