Extract the detected face pitch angle from the provided face metadata.
int camera_meta_get_face_pitch(const camera_metadata_t metadata,
float *pitch)
BlackBerry 10.0.0
The metadata supplied to the user-defined consumer function by camera_meta_iterate_metadata().
The angle of rotation of the face around the x-axis.
The pitch value ranges from -180 degrees to +180 degrees relative to the preview buffer coordinate space. A negative pitch angle indicates that the face is tilted downward. A positive pitch angle indicates that the face is tilted upward.
CAMERA_EOK when the function successfully completes, CAMERA_ENODATA if the camera did not provide a pitch value otherwise another camera_error_t value that provides the reason that the call failed.