NAOqi PeoplePerception - Overview | API
Namespace : AL
#include <alproxies/alfacecharacteristicsproxy.h>
Performs the face analysis on a given person using the ID. This method can be called even if ALFaceCharacteristics is not running in order to update the ALMemory data of this person only.
Parameters: |
|
---|---|
Returns: | true if the analysis succeeded and false if something went wrong or if the ID is invalid. |
Returns the current smiling threshold value above which the event FaceCharacteristics/PersonSmiling() is raised.
Returns: | threshold value between 0 and 1 (default = 0.7). |
---|
Raised when a person has a smile degree above the current threshold (default = 0.7).
Parameters: |
|
---|
Age estimation of a person in the form [age, confidence]. The age is limited to the interval [0, 75] and the confidence is in [0, 1].
Estimation of the facial expression on a person’s face. The associated data is an array containing the detection score of the following five expressions: [neutral, happy, surprised, angry or sad].
Each score ranges from 0 and 1 and represents the probability that the person expresses the corresponding expression. As such, the sum of all five properties is equal to 1, except if the detection failed (in that case all five values are set to zero).
Gender estimation of a person in the form [gender, confidence]. Gender is either 0 for female or 1 for male and the confidence is in [0, 1].
Smile degree estimation of a person in the form [smile degree, confidence]. The smile degree is a floating point value between 0 and 1 where 0 means “no smile” and 1 is a large smile. The confidence is in [0, 1].