Tobias-Fischer / rt_gene

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

type of left-right eyes image #82

Closed TranThanh96 closed 4 years ago

TranThanh96 commented 4 years ago

I am wondering about this. I used matplotlib to visual left-right eyes and this is the result. can you explain this? image

Tobias-Fischer commented 4 years ago

I'm sorry but you don't provide nearly enough information. What are you plotting / doing, what are the commands you execute, what is the input etc? Feel free to reopen once more information is available.

TranThanh96 commented 4 years ago

yes, It was my fault. I visualized the normalized image, that why I got those pictures. Thank you!. By the way, I have one more question: I am confusing about the function "def get_endpoint(theta, phi, center_x, center_y, length=300)" I know that we can get the theta and phi by trained models, but can u suggest any tutorial to understand theta and phi in the gaze estimation problem? I am confusing about this.

Tobias-Fischer commented 4 years ago

Could you please provide the code to produce those images? Is our standalone script working fine for you? I'm afraid we can't support your own code.

theta and phi simply refer to looking left/right and up/down (just the eye gaze)

TranThanh96 commented 4 years ago

I just draw the subject.left_eye_color and subject.right_eye_color in your code, that why I archive those above pictures. And I realized that you normalize left_eye_color and right_eye_color by this function: image so all I need is draw the left_eye_color and right_eye_color before u normalize, that's all.

Can you explain more detail about theta and phi?

TranThanh96 commented 4 years ago

maybe I am wrong, but I fixed the issue about eyes images, so its OK