I am working on a project where I need a user's gaze (location where the user is looking at on the screen). Of course, this doesn't need to be highly accurate since I am looking to use the inbuilt webcam on a laptop. Initially I am trying to figure out how I can make this work on a Windows laptop. Later on I will move on to mobile devices - android tablets possibly.
Most examples help in detecting the pupil quite accurately, but I couldn't find anything that actually shows the projection of the eye movement/location on the screen. I have researched a lot on OpenCV and this is what I plan to use, but I really need help figuring out the location (pixels) on screen.
I want to use the location on screen, to fire an event. For eg. if a user gazes at a button on the screen, it would fire its event.
Any help is highly appreciated.
Thanks!