Configure the focus regions on the camera.
camera_error_t camera_set_focus_regions(camera_handle_t handle, int numregions, camera_region_t *regions)
The handle returned by a call to the camera_open() function.
The number of regions to apply, which is the number of elements in the regions array.
A pointer to an array of focus regions to apply.
The maximum number of focus regions that you can configure is returned by the numsupported argument of the camera_get_focus_regions() function.
After setting the regions, the changes will be committed only after a call to camera_set_focus_mode().