NAOqi PeoplePerception - Overview | API
ALFaceCharacteristics updates every person with some additional information such as an estimation of age and gender. It also tries and detects whether the person is smiling or what facial expression the person is having.
Like most perception modules this one works on top of ALPeoplePerception which will be started automatically by ALFaceCharacteristics.
This module analyzes the face of a person and try to find some specific characteristics to a gender or an age category. As for the smile, it gives a measurement of the “smile degree” on a face, which means it can make the difference between a faint smile and a frank smile. An event called FaceCharacteristics/PersonSmiling() is raised every time the smile degree is higher than a given threshold. The value of this threshold can be changed by calling ALFaceCharacteristicsProxy::setSmilingThreshold().
ALFaceCharacteristics also analyses facial expressions and tries to estimate whether a face is neutral, happy, surprised, angry or sad.
In addition to the age, gender, smile and facial expression estimations, the module also provides a confidence score between 0 and 1 associated to each value to indicate how likely an estimation is. 0 means that the estimation is “very unlikely” and 1 means “very likely”). It makes it possible to filter the results in order to keep the most reliable information only.