camera_meta_get_face_id()

Extract the detected face identity from the provided face metadata.

Synopsis:

int camera_meta_get_face_id(const camera_metadata_t metadata,                 
                            uint32_t *id)

Since:

BlackBerry 10.2.0

Arguments:

metadata

The metadata supplied to the user-defined consumer function by camera_meta_iterate_metadata().

id

The returned identity associated with the face.

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

Description:

The identity is a number which uniquely identifies this face across successive frames.

Returns:

CAMERA_EOK when the function successfully completes, CAMERA_ENODATA if the camera did not provide an identity value otherwise another camera_error_t value that provides the reason that the call failed.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus