camera_meta_get_face_score()

Retrieve the score that represents the certainty that a face has been detected in the image.

Synopsis:

int camera_meta_get_face_score(const camera_metadata_t metadata,                 
                               float *score)

Since:

BlackBerry 10.0.0

Arguments:

metadata

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

score

The returned face score as a value between 0 and 100.

Library:

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

Description:

This function is used to retrieve the score information (or face score) from the provided face metadata. The score is a value between 0 and 100 that represents the confidence that the object identified in the image is a face.

Returns:

CAMERA_EOK when the function successfully completes, 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