Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gaze estimation output format #2

Closed
hwuebben opened this issue Aug 6, 2020 · 3 comments
Closed

gaze estimation output format #2

hwuebben opened this issue Aug 6, 2020 · 3 comments

Comments

@hwuebben
Copy link

hwuebben commented Aug 6, 2020

Hey there,

First of all thanks for the awesome work!

I`m trying to grab the gaze estimation results but do not understand the format of the data.
I concluded that the second and third (indices 1 and 2) entries of the eye_state variable show the current gaze, but what exactly do the numbers mean?
Is the gaze relative to the head position or the camera?
Also what is the immediate output of the gaze model?

Can you maybe give me some clarification?

Thank you and all the best!

@hwuebben
Copy link
Author

hwuebben commented Aug 6, 2020

Ah so I guess I misunderstood the gaze estimation concept, the model does not provide a gaze vector but the exact position of the pupils' centers which I then can use to determine the gaze, right?

@emilianavt
Copy link
Owner

Hi and thank you!

Yes, that is correct. You can find the way I calculate the gaze directions here:
https://github.com/emilianavt/OpenSeeFace/blob/master/Unity/OpenSee.cs#L177

I basically assume an average human eyeball size and calculate the direction from its center to the pupil center.

Also what is the immediate output of the gaze model?

It's a heatmap with with offsets. It works basically the same as the face landmarks, but only for a single landmark per eye.

@emilianavt
Copy link
Owner

This seems to be solved, so I'll close this issue. If you have any other questions, please feel free to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants