Tobias-Fischer / rt_gene

RT-GENE: Real-Time Eye Gaze and Blink Estimation in Natural Environments
http://www.imperial.ac.uk/personal-robotics
Other
365 stars 68 forks source link

headpose in dataset from 3D to 2D #64

Closed AaboutL closed 4 years ago

AaboutL commented 4 years ago

Headpose in label_combined.txt is 2-dimensional, while in label_headpose_detailed.txt is 3-dimensional。If I want to train on MPIIGaze, how to transform headpose from 3D to 2D?

Tobias-Fischer commented 4 years ago

Hi, Please see https://github.com/Tobias-Fischer/rt_gene/blob/3f45c55aa5801a5288e1f3367d1197f4fc6309cd/rt_gene/src/rt_gene/gaze_tools.py#L12 Basically, we discard the roll (of yaw-pitch-roll) after aligning the face image. Note that we unfortunately cannot provide support for other datasets.

Best, Tobias