NAOqi PeoplePerception - Overview | API
ALSittingPeopleDetection updates every person with the information of whether he or she is sitting (on a chair for example) or standing.
The distinction between sitting and standing positions is based on the head position relative to the ground. If the head is found to be higher than a given threshold then the corresponding person will be detected as standing. Otherwise, he or she will be considered as sitting.