TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.71k stars 1.82k forks source link

Updating docs: Is gaze vector relative to the head ? #1004

Open AnaisServais opened 2 years ago

AnaisServais commented 2 years ago

I would like to analyze if the head follows the eyes during eye movements (if yes, in what extent). For that, I would like to calculate gaze direction and head direction (from the info available in the output .csv file).

But, the documentation is quite old and I saw comments in issues where it seems that some parts of the doc is not updated for the last version of OpenFace.

1) If I understand properly, I could use _gaze_anglex and _gaze_angley for this. I am unsure one point: is this gaze vector relative to the head? or is it independent from the head orientation?

2) For the head direction, is there a way to transform the Pose values into a direction vector? If not, can we translate the eye movements into pitch and yaw to get values, which are comparable to head movements?

Thanks in advance for helping!