hysts / pytorch_mpiigaze

An unofficial PyTorch implementation of MPIIGaze and MPIIFaceGaze
MIT License
346 stars 86 forks source link

How to convert gaze and plot on image? #8

Closed WuZhuoran closed 4 years ago

WuZhuoran commented 5 years ago

Given an image of eye, we supposed to get a predicted result gaze [theta, phi], We need to first convert to [x, y, z] vector, then plot on the image.

How to convert and how to calculate the position [x', y'] on the screen? (Given the center of eye position is x1, y1)

Thank you.

caxelos commented 5 years ago