by ryklin » 14 Aug 2014, 21:03
Sorry, there are some pitfalls with one eye tracking.
First, worth mentioning is that if you calibrate using 1 eye, you must continue using the eye tracker with just one eye.
However, in the CPP SDK, if you only use one eye, GD_STATE_TRACKING_FAIL gets called, and GD_STATE_TRACKING_GAZE does not get called. We were instructed to catch these states in our code. Also, the location of the pupil, for the missing eye (gazedata.lefteye.pcenter.x, gazedata.lefteye.pcenter.y) or (gazedata.righteye.pcenter.x, gazedata.righteye.pcenter.y), is some strange value. If you could tweak this that would allow us to derive the location of the missing pupil as the Y axis image of the known pupil, and potentially discriminate between a tracking fail vs a "tracking only found one eye".
not ready for production use.