hugochan / Eye-Tracker

Implemented and improved the iTracker model proposed in the paper "Eye Tracking for Everyone"
BSD 3-Clause "New" or "Revised" License
232 stars 52 forks source link

how to use? #9

Closed mranosa closed 5 years ago

mranosa commented 5 years ago

Hello, I dont have an ML background, but would like to try this out.

How do I get the x and y gaze prediction output, given a face image, width and height of screen and maybe some camera details (distance of camera to screen, and camera size maybe)?

An example python implementation would be great, thanks a lot :D

Cheers!

P.S. Can this be used to for different screen size? like instead of an iPhone screen, a 24 inch monitor is used?

hugochan commented 5 years ago

Hi @mranosa, I am not sure if I really understand your 1st question. If you are asking for a conceptual explanation on why this model will work, I would recommend you to read their paper.

As for the 2nd question, yes, you can use this model for a different screen size. But you will need to train the model on the corresponding dataset.