[Tentative] binocular recording mode¶
SimpleGazeTracker has binocular recording mode, which is currently under testing.
Setup and calibration¶
To enable binocular recording mode, set BINOCULAR=1 in the CONFIG file (Configure SimpleGazeTracker). Then, set image size of camera very wide (such as 640x240).
Basic operations is the same as those in monocular mode. Adjust position of camera and IR illumination so that pupil and the Purkinje image of both eyes are detected (Figure 1). SimpleGazeTracker assumes that pupil whose center is in the left half of the image is right eye and vice vasa.
Figure 2 shows an example of calibration results display on the Presentation PC. Black lines indicate the results for the left eye. White lines indicate the results for the right eye. In this example, the results for the left eye is very good while the results for the right eye is poor. Probably readjustment and recalibration are necessary.
On the Recording PC, the results for left and right eye are indicated by blue and green lines, respectively (Figure 3).
Although it is highly recommended to use cameras whose image size can be configured to be very wide, you can set ROI to achieve very wide image. In the case shown in Figure 4, camera’s image size is 640x480 and ROI is set to 640x240. See Setting region of interest (ROI).
There are two points to note.
RECORDED_EYE option should be set to ‘B’ when
sendSettings(). is called.
config = GazeParser.Configuration() config.RECORDED_EYE = 'B' config.VIEWING_DISTANCE = 57.3 # (snip) tracker.sendSettings(config.getParametersAsDict())
getEyePosition() returns a tuple of four elements (not two elements).
The returned values represent Left X, Left Y, Right X and Right Y, respectively.