Eye gaze detection in android

asked 2018-12-04 04:39:56 -0500

Akhil Patel gravatar image

updated 2018-12-04 05:44:59 -0500

I'm looking to perform real time gaze tracking using the front camera of an android phone. My goal is to track the user's gaze while the user moves his head from left to right and tries to maintain the gaze at a certain object on screen. I found this Source code and implement in my code. but it doesn't track the gaze only track face.

if I should implement algorithms, which algorithms should I look at?

edit retag flag offensive close merge delete



imho, you need a head pose detection first (maybe using 3d model points / landmarks & solvePnP), then a proper pupil location (e.g. from landmarks).

then, you need to trace a ray from the inner eye through the pupil, and transform that with the head pose.

(the code you're refering to, does not do any of it, it only tries to refine the pupil position (in 2d) with template matching)

berak gravatar imageberak ( 2018-12-06 03:44:42 -0500 )edit

ok understood i will try.

Akhil Patel gravatar imageAkhil Patel ( 2018-12-06 07:15:24 -0500 )edit