Retrieve the bounding box associated with a face that is detected in the image.
int camera_meta_get_face_region(const camera_metadata_t metadata,
camera_region_t *region)
BlackBerry 10.0.0
The metadata supplied to the user-defined consumer function by camera_meta_iterate_metadata().
A pointer to a camera_region_t structure that will be updated with the coordinates of the bounding box defining the face.
This function extracts the bounding box from the provided face metadata and returns it as a camera_region_t value.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.