DeepSight SDK  3.0.0
DeepSight SDK - crowd face analysis
ds::Person::Headpose Struct Reference

Headpose structure for holding head rotation information. More...

Public Attributes

short yaw
 Headpose yaw angle in degrees.
 
short pitch
 Headpose pitch angle in degrees.
 
short roll
 Headpose roll angle in degrees.
 

Detailed Description

Headpose structure for holding head rotation information.

The ds::Person::Headpose structure holds head rotation in terms of yaw, pitch and roll angles. Yaw, pitch and roll angles range between -180 and 180 degrees.

A face looking straight to the camera has 0 degrees of yaw, pitch and roll.

Relative to a face, a rotation to the right is represented as positive yaw values, and a rotation to the left is represented by negative yaw values.

An upwards head rotation is represented by positive pitch values and a downwards head rotation is represented by negative pitch values.

Relative to a face, a clockwise head rotation is represented by positive roll values, and an anticlockwise head rotation is represented by negative roll values.

All 3 angles set to -360 means an invalid headpose estimation.